aeric Expert Licensed User Longtime User Sep 4, 2023 #1 Hi guys, Can anyone provide a simple example for me to learn how Designer Script Extension (DSE) works? Let say I have a top panel (PaneLogo) and a bottom panel (PaneData). Inside PaneLogo there is a B4XImageView (BLogo) and inside PaneData, there is a Label (LData). I want to hide PaneLogo based on a boolean variable (blnShowLogo) so when the Logo is hidden, the bottom panel (PaneData) will move up. The width of this layout changes dynamically based on a parent layout and this changes the size of the Logo (width = 30% of the PaneLogo's width). Thanks in advanced.
Hi guys, Can anyone provide a simple example for me to learn how Designer Script Extension (DSE) works? Let say I have a top panel (PaneLogo) and a bottom panel (PaneData). Inside PaneLogo there is a B4XImageView (BLogo) and inside PaneData, there is a Label (LData). I want to hide PaneLogo based on a boolean variable (blnShowLogo) so when the Logo is hidden, the bottom panel (PaneData) will move up. The width of this layout changes dynamically based on a parent layout and this changes the size of the Logo (width = 30% of the PaneLogo's width). Thanks in advanced.
aeric Expert Licensed User Longtime User Sep 4, 2023 #2 I think I solved the issue with the moving panel. B4X: Copy Dim DSView1 As B4XView = DesignerArgs.GetViewByName("PaneLogo") Dim DSView2 As B4XView = DesignerArgs.GetViewByName("PaneData") But I have another issue. I need more checking on my code. Upvote 0
I think I solved the issue with the moving panel. B4X: Copy Dim DSView1 As B4XView = DesignerArgs.GetViewByName("PaneLogo") Dim DSView2 As B4XView = DesignerArgs.GetViewByName("PaneData") But I have another issue. I need more checking on my code.