[ Solved ] lxpanel-svn 1831 problems.....

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

[ Solved ] lxpanel-svn 1831 problems.....

Post by phillipe »

Hi again!!!

I brought a new problem to the developers :D

The last svn version of lxpanel came with some problems.....

The fonts of the clock and of the taskbar are so BIG.

I'm using the 36px as size for the panel and icons.

See in the image that I sent.


Thanks for the support!
Attachments
lxpanel-problems.jpg
(116.34 KiB) Downloaded 28 times
Last edited by phillipe on Thu Jul 16, 2009 5:16 pm, edited 2 times in total.
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: lxpanel-svn 1831 problems.....

Post by Marty Jack »

We did that deliberately, having the font size scale with the icon size. Assuming that if you can't see well, you want big text to go with the big icons. What is your opinion of how it should work?

Get bigger, but only a little?
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: lxpanel-svn 1831 problems.....

Post by phillipe »

I think that the way that lxpanel was, before that svn version, was very good.

But, if that function of increase the size of fonts have to be applied, my opinion is that the fonts don't get too big.... Just a little, very little.
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: lxpanel-svn 1831 problems.....

Post by Marty Jack »

This is adjusted in SVN r1834.

Note, it is just as valuable for the font to get smaller when the icon is smaller. This allows people on tiny screens to run with only a 16 pixel panel.
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: lxpanel-svn 1831 problems.....

Post by phillipe »

Marty Jack wrote:This is adjusted in SVN r1834.

Note, it is just as valuable for the font to get smaller when the icon is smaller. This allows people on tiny screens to run with only a 16 pixel panel.
Thanks again Marty!

I understand the situation and is really very useful to get the fonts smaller when the icons are smaller too.

Anyway I made some alterations in the PKGBUILD, the Archlinux package building system, of the lxpanel-svn and I made a patch to use the font size 10 if the icon size is >=20 ou <=36.
--- src/panel_orig.c 2009-07-16 13:44:20.000000000 -0300
+++ src/panel.c 2009-07-16 13:45:54.480374343 -0300
@@ -973,7 +973,7 @@
int font_desc;
if (p->icon_size < 20)
font_desc = 9;
- else if (p->icon_size >= 20 && p->icon_size < 26)
+ else if (p->icon_size >= 20 && p->icon_size <= 36)
font_desc = 10;
else
font_desc = 12;
But no need to alter this in the source of lxpanel. I made this because is better to me, but the way that the lxpanel is in the moment is very very good, I think other users think that too.

If other users suggest to alter the size of fonts, you should think about that, but in the moment it's ok and so good.

Thanks again!!! ;)
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
Locked