Page 1 of 1
[ Solved ] lxpanel-svn 1831 problems.....
Posted: Thu Jul 16, 2009 12:01 am
by phillipe
Hi again!!!
I brought a new problem to the developers
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!
Re: lxpanel-svn 1831 problems.....
Posted: Thu Jul 16, 2009 12:45 am
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?
Re: lxpanel-svn 1831 problems.....
Posted: Thu Jul 16, 2009 2:27 am
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.
Re: lxpanel-svn 1831 problems.....
Posted: Thu Jul 16, 2009 2:58 pm
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.
Re: lxpanel-svn 1831 problems.....
Posted: Thu Jul 16, 2009 5:14 pm
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!!!
