S strupp01 Active Member Licensed User Longtime User Jul 15, 2017 #1 I created a Pane in 'Startseite' in the Internal Designer and loaded it when I started it. B4X: MainForm = Form1 MainForm.RootPane.LoadLayout("Startseite") 'Load the layout file. MainForm.Show How can I adjust the size of the panes in the program on e.g. Complete width and complete height - 50 ?
I created a Pane in 'Startseite' in the Internal Designer and loaded it when I started it. B4X: MainForm = Form1 MainForm.RootPane.LoadLayout("Startseite") 'Load the layout file. MainForm.Show How can I adjust the size of the panes in the program on e.g. Complete width and complete height - 50 ?
klaus Expert Licensed User Longtime User Jul 15, 2017 #2 You must use this routine: B4X: Private Sub MainForm_Resize (Width As Double, Height As Double) 'your code End Sub Upvote 0
You must use this routine: B4X: Private Sub MainForm_Resize (Width As Double, Height As Double) 'your code End Sub
S strupp01 Active Member Licensed User Longtime User Jul 15, 2017 #3 Thank you. Thats how it works. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2017 #4 You can also use anchors and designer script in the designer. It is simpler in most cases. Upvote 0
S strupp01 Active Member Licensed User Longtime User Jul 16, 2017 #5 @Erel, Thank you. The one with the anchor was not known to me. Upvote 0