pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel Grandin <noelgran...@gmail.com>
Subject Re: How to change font of Document
Date Wed, 27 Jul 2011 07:11:49 GMT
The way it works at the moment is that it traverses up the document hierarchy to find the first
parent node that has a
font set.

So you can set the font on the Document object as long as no font is set at a lower level.

-- Noel

Bill van Melle wrote:
> I want to change the font of an entire Document in a TextPane after it's been created
and displayed.  The obvious call
> to setFont on the Document object seems to have no effect.  Should this work?  If not,
what's the recommended procedure?


Mime
View raw message