darcs patch: Tabbed.hs: fixed centerText issues and some binding sh...
this fixes some of the Tabbed layout issues. It is now possible to set fonts. I'm going to refactor the module (with David's permision obviously), so we will take advatage of that. ciao andrea Sun Jun 17 12:42:19 CEST 2007 Andrea Rossato <andrea.rossato@unibz.it> * Tabbed.hs: fixed centerText issues and some binding shadowing warnings This patch fixes the centerText issue due to the inappropriate use of textExtends and textWidth. Those functions need a FontStruct id to operate, and this cannot be retrieved with queryFont (see comments in Graphics.X11.Xlib.Font). So we now get the FontStruct with loadQueryFont, we set the default Xorg fonts and we calculate things for (vertical and horizontal) centering. It also removes some binding shadows compiler warnings
On Sun, Jun 17, 2007 at 12:58:44PM +0200, Andrea Rossato wrote:
this fixes some of the Tabbed layout issues. It is now possible to set fonts. I'm going to refactor the module (with David's permision obviously), so we will take advatage of that.
Thanks! -- David Roundy http://www.darcs.net
mailing_lis:
this fixes some of the Tabbed layout issues. It is now possible to set fonts. I'm going to refactor the module (with David's permision obviously), so we will take advatage of that.
Applied, thanks. -- Don
participants (3)
-
Andrea Rossato -
David Roundy -
dons@cse.unsw.edu.au