[PATCH] Improvements to flat group box look in Oxygen style

Robert Knight robertknight at gmail.com
Wed Jan 2 22:12:53 GMT 2008


Screenshots -

Before: http://www.robertknight.me.uk/files/kde/konsole-group-box-old.png
After: http://www.robertknight.me.uk/files/kde/konsole-group-box-new.png


On 02/01/2008, Robert Knight <robertknight at gmail.com> wrote:
> Hello,
> The 'Edit Profile' dialog in Konsole uses group boxes to divide each
> page up into sections.  The group boxes are drawn with flat frames to
> avoid the visual clutter that comes from having a frame the whole way
> around and also because the frames sit in a single column, so only
> horizontal dividers between each row are required.
> Currently the Oxygen style uses the simple KStyle default which just
> paints a flat line above the group box title which does not look very
> nice.  The attached patch changes the rendering of flat group boxes,
> leaving other group boxes as before:
> - Use bold text for label font
> - Draw label on the left
> - Add additional indentation on the left
> - Do not draw any divider lines
> The effect is very similar to the 'Cleanlooks' style which ships with
> Qt 4.  Comments?
> Regards,
> Robert.

More information about the kde-core-devel mailing list