Mailinglist Archive: yast-devel (47 mails)
| < Previous | Next > |
[yast-devel] Playing with YaST dialog sizes
- From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
- Date: Tue, 21 Oct 2008 15:09:09 +0200
- Message-id: <48FDD475.7070908@xxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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...)
yast2-gtk looks more fancy in this aspect, and delegates more hints to
the toolkit, but the height is also too big.
I attach some screenshots with yast2-sudo-big (original yast2-qt) and
the same ones in a modified yast2-qt ( yast-sudo-small* )
I think the ideal situation is something in the middle. For example, my
modified yast2-qt basically uses the minimum space possible, which is
also not the answer, however the wizard looks much nicer in small
(better said, enough) size. May be some better algorithm which does not
use the screen size, but basically the minimal space needed plus some
buffer so it does not look really packed. Just wanted to start a
discussion on this "taste".
Duncan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkj91HUACgkQzR62qWZ+QtG/SQCffc6caGR7MMGNPUwLLN/10Bi1
1i4AnR3dxe1cDH35zsJddDghohcCTWNs
=Yrim
-----END PGP SIGNATURE-----
Hash: SHA1
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...)
yast2-gtk looks more fancy in this aspect, and delegates more hints to
the toolkit, but the height is also too big.
I attach some screenshots with yast2-sudo-big (original yast2-qt) and
the same ones in a modified yast2-qt ( yast-sudo-small* )
I think the ideal situation is something in the middle. For example, my
modified yast2-qt basically uses the minimum space possible, which is
also not the answer, however the wizard looks much nicer in small
(better said, enough) size. May be some better algorithm which does not
use the screen size, but basically the minimal space needed plus some
buffer so it does not look really packed. Just wanted to start a
discussion on this "taste".
Duncan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkj91HUACgkQzR62qWZ+QtG/SQCffc6caGR7MMGNPUwLLN/10Bi1
1i4AnR3dxe1cDH35zsJddDghohcCTWNs
=Yrim
-----END PGP SIGNATURE-----
| < Previous | Next > |