* Stefan Hundhammer
On Dienstag, 21. Oktober 2008, Duncan Mac-Vicar P. wrote:
Something I don't like from YaST-qt is the default size of dialogs (matter of taste). yast2-gtk handles it a bit better, but still not perfect.
After the bug where yast2-qt did not fit on subnotebooks I got inspired to do some experiments with yast-qt size.
It seems yast2-qt uses sizeHint for all widgets, except for the topmost, which is calculated artificially using the screen size, which results in lot of blank space and I have to turn my sight 10 meters down from the only line of text to the point I see the buttons (yes, I like to exaggerate...)
You are aware of the difference of UI::OpenDialog() vs. UI::OpenDialog(`opt(`defaultsize))? `opt(`defaultsize) specifies that a predefined default size (800x600 in most cases) should be used rather than the preferred sizes of the child widgets.
How is the default size determined ? When trying to use YaST on one of the new 'subnotebooks', the initial dialog size was too high making the botton row hardly recognizable. It looked as if the dialog didn't take the display size into account. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org