From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-10-10 01:32:53
John Torjo wrote:
>> Let me try from a different angle. There's some settings made by user,
>> like font size, or toolbar icon size. The unit does not matter there.
>> I believe that in a good GUI library, you should not ever need to use any
>> dimensions for windows dimensions, but just allow the layout code in the
>> library to take care of this. And since you don't have to specify
>> dimensions, it does not matter if they are in pixels or not.
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk