PATCH kcontrol improved use of screen real-estate.

markcox markcox at iprimus.com.au
Sat Apr 13 08:10:29 BST 2002


I didn't like the behaviour of kcontrol on it's opening screen.
To see this, shut down kcontrol and start it again. It always opens on the about screen. 

I have posted a before and after patching picture at:
http://www.unimagination.com/

I have experimented with the layout and this patch to 
kdebase/kcontrol/kcontrol/aboutwidget.cpp gives what i believe is a better use of the available screen space. 
Without it the spanner/wrench, pushes the text (which i think is more important than the background image) and makes it too small. 

--- aboutwidget.cpp.orig	Sat Apr 13 15:17:12 2002
+++ aboutwidget.cpp	Sat Apr 13 15:18:38 2002
@@ -237,7 +237,7 @@
     int boxX = 25;
     int boxY = 184 + 50;
     int bheight = height() - 184 - 50 - 40;
-    int bwidth = width() - _part3->width() + 60;
+    int bwidth = width() - 50;
 
     if (bheight < 0) bheight = 0;
     if (bwidth < 0) bheight = 0;


I have attached the patch too if that is easier to use. 
I don't have commit access, so if there is a general consensus that this is okay could some-one commit it please.

Mark Cox

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aboutwidget.cpp.diff
Type: text/x-diff
Size: 359 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020413/237d57a5/attachment.diff>


More information about the kde-core-devel mailing list