[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: changing font-size online
|
Hi Andreas,
There isn't a way to do this in swt because the default widget attributes
like fonts and colours come from the user's settings in the OS, which should
be respected. So if you really want to override these then you either have
to set these attributes on each widget, or (if the platform allows it)
provide a resources file that the user can use to update their widget
attributes to your preferences. Examples of this are (gtk)
http://www.eclipse.org/swt/faq.php#gtkfontsandcolors and (motif)
http://www.eclipse.org/swt/faq.php#motiffontsandcolors .
Grant
"Andreas Motsch" <andreas.motsch@xxxxxxxxxxxxx> wrote in message
news:7d76ff27801f0d557f645e66667b9706$1@xxxxxxxxxxxxxxxxxx
> Hello,
> is there a possibility to change the font-size global and online?
>
> I want to change the font-size for my complete application while app is
> running.
>
> I thought about org.eclipse.ui.themes, but it didn't work.
> Maybe I need a tutorial, but i think, I did it right.
>
> Thanks a lot for your help!
>
> Best regards,
> Andreas
>