Re: Ugh! I am having trouble visualizing sizers.
- Posted by mattlewis (admin) Jul 05, 2009
- 1160 views
vmars said...
Ok, I got it somewhat (see below), but I can't seem to get row-1 and row-3 to be the size I want it. So I'll mess with set_size. Ideally, What I want is
row-1 height = 50
row-2 height = 200
row-3 hekght = 50
row-4 height = 200
I think the problem is that you're passing a 1 for the third parameter (option) when adding everything. If you don't want the item to grow when the sizer does, pass 0.
Matt