D Deleted member 103 Guest Dec 6, 2012 #1 Hi Erel, it may be that the script "RerunDesignerScript" is not running when panel.LoadLayout ("frmTest")? The size of the 2 images in the screenshot should be the same! Ciao, Filippo Attachments DesignerScriptBug_1.zip DesignerScriptBug_1.zip 111.7 KB · Views: 333 screenshot_1.jpg 50.3 KB · Views: 430
Hi Erel, it may be that the script "RerunDesignerScript" is not running when panel.LoadLayout ("frmTest")? The size of the 2 images in the screenshot should be the same! Ciao, Filippo
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2012 #2 See the first "tip" here: Designer Scripts Tutorial Percentage values in the designer script are related to the main parent.
See the first "tip" here: Designer Scripts Tutorial Percentage values in the designer script are related to the main parent.
D Deleted member 103 Guest Dec 6, 2012 #3 I'm sorry, but I do not understand it! Can you my example so change that both images are the same height?
I'm sorry, but I do not understand it! Can you my example so change that both images are the same height?
klaus Expert Licensed User Longtime User Dec 6, 2012 #4 Hallo Filippi. Im Designer Script entsprechen 100%x und 100%y der Breite und Höhe des Elternobjects und nicht der Breite und Höhe des Bildschirms. Also in Deinem Fall im Layout frmTest musst Du Panel1.Height=30%y durch Panel1.Height=100%y ersetzen. In the Designer Script 100%x and 100%y correspont to the width and height of the parent object and to the width and height of the screen. In your case in the frmTest layout you should replace Panel1.Height=30%y by Panel1.Height=100%y Best regards.
Hallo Filippi. Im Designer Script entsprechen 100%x und 100%y der Breite und Höhe des Elternobjects und nicht der Breite und Höhe des Bildschirms. Also in Deinem Fall im Layout frmTest musst Du Panel1.Height=30%y durch Panel1.Height=100%y ersetzen. In the Designer Script 100%x and 100%y correspont to the width and height of the parent object and to the width and height of the screen. In your case in the frmTest layout you should replace Panel1.Height=30%y by Panel1.Height=100%y Best regards.