[PythonCAD] TextBlock text size changing now in repo

Art Haas ahaas at airmail.net
Fri Sep 10 02:12:56 CEST 2004


On Thu, Sep 09, 2004 at 05:20:49PM -0500, Art Haas wrote:
> 
> Code for changing the font style (normal/oblique/italic), font weight
> (normal/light/bold/heavy), and text alignment (left/center/right) is now
> in the repo as well. There is an occasional oddity when undoing a style
> or weight change that I'm chasing down, but other than that things work.

Occasional oddity now gone. A missing startAction()/endAction() call
pair around the creation and addition of a new TextBlock instance was
the culprit.

Art
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


More information about the PythonCAD mailing list