On Wed, 2004-01-28 at 07:26, Steve Wampler wrote:
> On Wed, 2004-01-28 at 02:51, Clint Jeffery wrote:
> > With a _Dialog, there may be an issue of figuring out what font it is going
> > to use; there is a default font in the GUI classes, and there is a list of
> > attributes to apply to _Dialogs and to individual components within the
> > dialogs; you may have to chain through a number of components (from
> > innermost to enclosing ones) to find the font=... value that would apply
> > for the component you are wishing to measure.
>
> Ah, so I've discovered (the version of YesNoDialog.icn in the unilib
> cvs respository attempts to allow you to change the font size of the
> message area)... The code there 'sorta' works - you can change the
> font with a (new) setFont(font) method call, but the size calculation
> doesn't use that new font yet, but rather the 'default' font for
> the Dialog.
Ok, the version of YesNoDialog.icn (and its companion:
MessageBox.icn) found in the cvs repository at:
http://tapestry.tucson.az.us/unicon
now correctly handles changes to the message text font size.
(Though it's still done in an ugly manner - I'm *sure* someone
could improve it!).
--
Steve Wampler -- [EMAIL PROTECTED]
The gods that smiled on your birth are now laughing out loud.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group