I'm trying to postion basic components on an app using App Designer, as GUIDE is no longer avaliable, and when I run the app my components are moved off screen or laying over each other. There doesn't seem to be a way to resizable windows in app designer.
There's no code written for any of these attempts. Just running an empty UI with no callbacks.
Attempt 1) Place objects directly on the figure.
The objects were placed directly in design view. On running, the top of the objects are above the top of the window. I understand this is because of the windows menu bar at the top. So Attempt 1b) I just shuffled all the component down leaving space at the top. The issue then is that the amount of space needed changes inversly with the size of the window. So that didn't work.
Attempt 2) Use grid layout.
New figure. place a grid layout on the figure. I simplified down to 1 column and 4 objects. Label on top, list box, button, button. If I set the rows in the GridLayout to fixed it works fine, but as soon as I resize the window nothing scales with it. I want the label on top and the buttons underneither to stay fixed and the list box to resize, so I set the listbox row to weighted 1. When run, for some reason the list box now extends behind the buttons at the bottom.
Attempt 2b) I tried adding a grip row below the listbox and fixing it at 10, thinking it would add a buffer space, but didn't work. 2c) fix this buffer row space to 50. Looked fine when first run, but then when you expand the window the list box goes behind the buttons again. 2d) set the row to weighted, now it's a huge empty space below the listbox however its resized.
Attempt 3) AI recomended using a panel. So now figure. placed a panel on the emtpy figure and set it to the size of the figure, then place a grid on the panel. On the panel I Set AutiResizeChildren to off. This effectivly recreated Attempt 1, where the top of the objects was above the top of the window.
So now I'm stuck and very frustrated! I need to convert a complex plotting tool that was built using GUIDE into App Designer but I can't build even basic UI's in app designer and have them resizable. The tool I'm looking to convert/rebuild contains around 100 objects on the GUI and then there are multiple fogures beyond that which I also need to convert.