Is there any way of changing the UI font sizes in Kombilo? There's nothing for it that I can see in the "Advanced/Customize appearance" options. The fonts in the menu and game list etc. are way too large for a netbook display, almost twice the size they need be, and they're in bold to boot. I've dug through the source code and tried changing all hard-coded font size parameters I could find but nothing seems to help.
(Edit: I suppose the program might be using whatever is the default font of the interface toolkit...)
Font sizes in Kombilo
- emeraldemon
- Gosei
- Posts: 1744
- Joined: Sun May 02, 2010 1:33 pm
- GD Posts: 0
- KGS: greendemon
- Tygem: greendemon
- DGS: smaragdaemon
- OGS: emeraldemon
- Has thanked: 697 times
- Been thanked: 287 times
Re: Font sizes in Kombilo
Yeah, you'll have to insert non-default font choices. To change the font in the game list, open kombilo.py and search for "class GameList". Towards the beginning of that class definition (in the init function) you should see a line like
change it to:
Or whatever font & size combination you want. Unfortunately if you don't know python it'll be a real pain to find the relevant lines to change. (Took me a few minutes to find that one, and I've messed with kombilo's source some already)
Does anyone know if Kombilo is still being maintained? I have some fixes to my source to make it work better on a mac that I could share if people are interested.
Code: Select all
v.ScrolledList.__init__(self, parent)change it to:
Code: Select all
v.ScrolledList.__init__(self, parent, font=("Helvetica", 8))Or whatever font & size combination you want. Unfortunately if you don't know python it'll be a real pain to find the relevant lines to change. (Took me a few minutes to find that one, and I've messed with kombilo's source some already)
Does anyone know if Kombilo is still being maintained? I have some fixes to my source to make it work better on a mac that I could share if people are interested.
- emeraldemon
- Gosei
- Posts: 1744
- Joined: Sun May 02, 2010 1:33 pm
- GD Posts: 0
- KGS: greendemon
- Tygem: greendemon
- DGS: smaragdaemon
- OGS: emeraldemon
- Has thanked: 697 times
- Been thanked: 287 times
Re: Font sizes in Kombilo
I assume you tried changing the font in the kombilo.app file? If not, try that first.
Re: Font sizes in Kombilo
emeraldemon wrote:Does anyone know if Kombilo is still being maintained? I have some fixes to my source to make it work better on a mac that I could share if people are interested.
I started working on Kombilo again, after a very long break. The current goal is to prepare a version based on the "libkombilo" library which contains the pattern search functionality (and which is used in Gilles Arcas's Drago). It will have a snappier, and maybe a little more beautiful GUI, but not much new functionality. After the transition to libkombilo I will hopefully find some time to add new features.
If you have fixes to the code, or just suggestions how things could work better, or what is missing, I would of course be glad to hear them.
Best
Ulrich
- emeraldemon
- Gosei
- Posts: 1744
- Joined: Sun May 02, 2010 1:33 pm
- GD Posts: 0
- KGS: greendemon
- Tygem: greendemon
- DGS: smaragdaemon
- OGS: emeraldemon
- Has thanked: 697 times
- Been thanked: 287 times
Re: Font sizes in Kombilo
The main thing was changing the pattern markoff to be ctrl-click. The way it was before didn't work for me, and I think ctrl-click is a bit more mac-standard anyway for that sort of thing. Not a big deal, but maybe others were having similar problems. I just changed the rebindMouseButtons function in kombilo.py to use <Control-Button-1> instead of <M2-Button-1>. Not even sure what M2 would be on a mac (alt maybe?)
-
martyd9906
- Beginner
- Posts: 5
- Joined: Sun Jan 02, 2011 12:44 pm
- Rank: KGS4
- GD Posts: 0
Re: Font sizes in Kombilo
Thanks. This is just what I was looking for. Changing the app settings worked for me. The size was driving me crazy. This is a much improved interface now.
Marty D
www.goldenrule.com
www.goldenrule.com