Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Global font


Hi,

There isn't a way to do this, because widgets/controls are always created with the OS' current user settings (colours, fonts, etc.).  If you want to override these then you probably want to implement factories for creating and initializing your controls.

Grant




Jin Meng <getserved06@xxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

08/30/08 02:39 AM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] Global font






As I know, I could get Font of current Display, however, how can I set the
font of the display in order to have all my default widgets have the same
font that I set.
--
View this message in context: http://www.nabble.com/Global-font-tp19230909p19230909.html
Sent from the Eclipse Platform - swt mailing list archive at Nabble.com.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top