aMule Forum
English => Feature requests => Topic started by: Grobill on October 06, 2004, 09:17:57 AM
-
Hi,
It would be nice to have choice for font size.
It's annoying for lists when default is too big. I'm patching sources on every release to have it decreased (looks very big on my box... don't know why).
Could you add this in preferences ?
Thanks.
-
ye, and skins. indeed. me vores too ;)
-
Yes, this needs to be fixed (though I've luckily never had that problem myself ;)).
Out of curiosity, could you post the patches that you are using?
-
Considering I'm lazy, its only one line fixing size in lists ;)
I added this : SetFont( wxFont( 10, wxDEFAULT, wxNORMAL, wxNORMAL));
at the end of CMuleListCtrl constructor.
-
It's only the lists that have the problem?
As I said before, I dont have that problem personally, so it's a bit hard to examine ;)
If you could take a couple of screenshots of the un-fixed interface, that would be great. ;)
-
Calling it a "problem" is a bit strong.... It's just annoying not to be able to decrease/increase text size.
I just set size in lists, cause it's easy to do with class inheritance, and it's where usefull informations are to be displayed. And in a 1024 screen width, there no space to loose :)
Here is a screen of rc6 (not patched).
Maybe it looks like everyone else...
(http://grobillz.free.fr/Divers/amsnapshot.png)
-
looks ok from my side
-
my fonts are smaller ..
-
On a second look, mines too. Are you sure you can't change them on gtk themes?
-
Hum, I'm not good in customization... I don't know about gtk themes.
I'm using KDE3, and changing font size in control panel don't have an effect.
Only thing I can tell you is that only aMule has such large font size, every other applications running have smaller ones.
-
try then gnome-control-center
-
The easiest way to switch fonts for gtk is to install gtk-theme-switch. There you just click on the button on the right and you will be able to select a font. Installing gnome-control-center just for the font seems a bit of overkill to me ;)
-
well, sometimes it's already installed ;)
-
Well, I installed gtk-theme-switch, without effect.
Whatever I choose as theme and font, there's no change :(
Don't know if gnome center would have an effect in KDE, but I won't try, it's a bit like killing a fly with a mortier ;)
-
There's an option on kde control panel that makes apps match the scheme used by kde, and you need to disable that to use gtk-theme-switch
-
is the request difficult to implement? it's nice to be able to change font sizes in programs if you have a poor monitor or if your eyesight isn't that great.
sure you can work around it changing the font size in the source, but it would be much better from a user standpoint for it to be an option in the program itself.
-
Hey, we're working on it. give us a break :)
-
came across differently to how it sounded in my head.
apologies. didn't mean anything by it.
-
I was smiling ;)
-
If you compile aMule with GTK2 wx*, then you are able to change the fonts size just by using the Gnome-fonts preferences. Even if you use KDE, or blackbox, or enlightenment, or anything (If you use a wm other than GNOME, you should add a command to your ~/.xinitrc file, but don't remember which one, using windows right now).
Regards.
-
(http://portowcy.info/prywatne/macieq/amule.png)
this is my problem with fonts...
when I start aMule, fonts on server list are ok - just as I set - helvetica 10, but when i connect to server - font makes bigger [look image]
on transfer list all fonts are too big..
(http://portowcy.info/prywatne/macieq/amule1.png)
any sugestions?
-
afaik, Xaignar began implementing a font-size setting into preferences. sadly, Xaignar is unable to code lately since he has no internet connection, but i guess as soon as he's back he'll keep up that code...
-
ok, thanks
i will wait :P
-
Originally posted by Grobill
Considering I'm lazy, its only one line fixing size in lists ;)
I added this : SetFont( wxFont( 10, wxDEFAULT, wxNORMAL, wxNORMAL));
at the end of CMuleListCtrl constructor.
Can you expand on this a little? :P
-
with that line he is defining the default size that will be used in some lists (the lists which use the CMuleListCtrl class. such as the servers list, the transfers lists and i think the friends list too).
the font he is defining is the default font with size 10 (no bold, no italic, no underline, black, etc).
The code is at MuleListCtrl.cpp
The constructor of a class is the fucntion in that class which has the same name as the class (in this case, CMuleListCtrl::CMuleListCtrl())