
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 fixed).
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?) Best, John -- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/surfaces.html - Sky's the limit! -- http://www.torjo.com/cb/ - Click, Build, Run!