Re: Ugh! I am having trouble visualizing sizers.

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu