PDA

View Full Version : Flowlayout: wrap for horizontal and vertical


JayHoo
02-03-2011, 01:44 PM
Hi,
is there an opportunity to get automatic adjustment for both axis? Horizontal and vertical? Maybe I can get a scrollLayout working for the vertical issue.

window;
flowLayout -wr 1;
// -v for vertical adjustment
// flowLayout -wr 1 -v;
button;
button;
button;
button;
button;
button;
button;
button;
button;
showWindow;


Thanks for your help. Try the "-v" Flag to see what my problem is.

NaughtyNathan
02-03-2011, 03:46 PM
don't you just want a gridLayout, rather than a flowLayout?
:nathaN

JayHoo
02-04-2011, 10:08 AM
Thanks for your answer. ShelfLayout works as well. The Gridlayout has no scrollbar. It fits every item into the panel.

CGTalk Moderation
02-04-2011, 10:08 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.