Hello, how to auto resize pane inside the scroll pane when resizing the form? I've anchored the pane and the scroll pane, but the pane is not resizing according to the size of the scroll pane.
Is scrollpane not like scrollpanel in b4a? I want the panel to auto-resize if i resize the form. The reason why i used the scroll pane is because I have a layout with panel and inside the panel are textfields, labels, comboboxes etc. Now, the 800x600 variant is not enough for all the views I've added (it is for registration actually). I want the user to use the scroll and also to resize the conponents inside the panel when the user resize the form. Or Is there other way to do it?
It is the same as ScrollView. The mistake you made is that you set the inner panel size to MainForm.Width and MainForm.Height. The correct size should be the absolute size of the internal layout.
It is the same as ScrollView. The mistake you made is that you set the inner panel size to MainForm.Width and MainForm.Height. The correct size should be the absolute size of the internal layout.
You need to decide on the size of Layout2 and set it. It if it is larger than the form size then the user will need to scroll it. This is exactly the reason for having a ScrollPane.
You need to decide on the size of Layout2 and set it. It if it is larger than the form size then the user will need to scroll it. This is exactly the reason for having a ScrollPane.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.