Life In 19x19
http://www.lifein19x19.com/

Font sizes in Kombilo
http://www.lifein19x19.com/viewtopic.php?f=18&t=2565
Page 1 of 1

Author:  Gresil [ Sat Dec 11, 2010 3:09 am ]
Post subject:  Font sizes in Kombilo

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...)

Author:  emeraldemon [ Sat Dec 11, 2010 12:46 pm ]
Post subject:  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

Code:
v.ScrolledList.__init__(self, parent)


change it to:

Code:
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.

Author:  emeraldemon [ Sat Dec 11, 2010 12:53 pm ]
Post subject:  Re: Font sizes in Kombilo

I assume you tried changing the font in the kombilo.app file? If not, try that first.

Author:  Gresil [ Sat Dec 11, 2010 1:32 pm ]
Post subject:  Re: Font sizes in Kombilo

Thanks! Editing the .app file was enough.

Author:  ugoertz [ Tue Dec 14, 2010 3:56 am ]
Post subject:  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

Author:  emeraldemon [ Tue Dec 14, 2010 12:32 pm ]
Post subject:  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?)

Author:  martyd9906 [ Sun Jan 02, 2011 12:49 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/