[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    PATCH kcontrol improved use of screen real-estate.
From:       markcox <markcox () iprimus ! com ! au>
Date:       2002-04-13 7:10:29
[Download RAW message or body]

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


["aboutwidget.cpp.diff" (text/x-diff)]

--- 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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic