Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-10-10 17:37:50

>>I do think that every now and then, you do need to specify dimensions.
>>For instance, when specifying a button's width (in case you want it
> Why would you want to have it fixed to absolute values? Say, in Qt if you
> want buttons to not grow when you resize dialog you set its "size policy"
> to either "Fixed" or "Maximum". You don't need to specify absolute values.

I'm not sure I understand: once you set a "size policy" to "fixed", it
seems that you would need to set a fixed size (for a button, for instance).

Or, if you set it as percentage of the original dialog size, still, the
dialog would need to have an original fixed size, which is about the
same thing. Or, am I missing something?

(question aside: can you choose the "size policy" for each dimension
like, left,top,width,height, or for the whole widget?)


John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- - Sky's the limit!
-- - Click, Build, Run!

Boost list run by bdawes at, gregod at, cpdaniel at, john at