PATCH kcontrol improved use of screen real-estate.
Ellis Whitehead
kde at ellisw.net
Mon Apr 15 22:05:09 BST 2002
Hi Mark,
Just to let you know, I've committed your patch.
Thanks,
Ellis
On Saturday 13 April 2002 03:10, markcox wrote:
> 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
More information about the kde-core-devel
mailing list