SetGadgetLayout
BlitzMax Forums/MaxGUI Module/SetGadgetLayout
| ||
I really can't grasp this command. I've got layouts working in the past, but only through trial and error. I made a small program to look at different combinations of parameters and saw that 0,0,0,0 has the same effect as 1,0,1,0. It's strange! I just end up guessing till it works. As I remember it in BPlus, for each edge you chose wether it was tethered to one side of the parent or the other, or proportional. Was there a problem with this design? It seems more intuitive than in MaxGUI. Perhaps this is an out-of-date topic. I can't make it work right first time, which I could in BPlus. EDIT:! Scratch this! I've just made a stuupid mistake in my code, sorry! OK, the example I gave does produce two different outputs, but I still find the old method much easier to predict! |