Hi John
That was exactly the problem. For some reason I thought pango.SCALE
defaulted to one, which was obviously wrong.
I switched to TabArray(n,True) and it works now (with pixel sizes).
Thanks,
JP
John Finlay wrote:
John Pye wrote:
I would have expected that if I set_tabs on my TextView, then stuck
the text into the associated TextBuffer, then it would render such
that the text following '\t' characters line up with the tab stops I
specify.
That should work. One thing to watch out for is the units used for the
tab positions. Pango units are really small compared to pixel units
(1024:1)
John
--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/