How to determine a system font [message #373407] |
Tue, 09 September 2003 22:04 |
Eclipse User |
|
|
|
Originally posted by: MatthiasBecker.hamburg.de
Hi
can someone please tell me how to determine a system font? Like the font used
on a button, or, in my case, the font used by the os in the titel-bar.
Thank you
|
|
|
|
Re: How to determine a system font [message #373415 is a reply to message #373414] |
Wed, 10 September 2003 00:16 |
Eclipse User |
|
|
|
Originally posted by: MatthiasBecker.hamburg.de
yun@rti.com (Michael Xia) wrote:
>Hi Matthias,
>
>Use Display.getCurrent().getSystemFont().
that was my first idea. But it seems you cant specify which font you want to
have. Like Titlebar, Face, ToolTip and so on...
Is there a way to get this?
Sincerele
Matt
|
|
|
Re: How to determine a system font [message #373416 is a reply to message #373414] |
Wed, 10 September 2003 00:16 |
Eclipse User |
|
|
|
Originally posted by: MatthiasBecker.hamburg.de
yun@rti.com (Michael Xia) wrote:
>Hi Matthias,
>
>Use Display.getCurrent().getSystemFont().
that was my first idea. But it seems you cant specify which font you want to
have. Like Titlebar, Face, ToolTip and so on...
Is there a way to get this?
Sincerely
Matt
|
|
|
Re: How to determine a system font [message #442892 is a reply to message #373407] |
Tue, 14 September 2004 16:52 |
Eclipse User |
|
|
|
Originally posted by: k.ruhl.etamax.de
Maybe the different getXXXFont methods of JFaceResources are something
for you.
Best regards,
Kai
Matthias Becker wrote:
> Hi
>
> can someone please tell me how to determine a system font? Like the font used
> on a button, or, in my case, the font used by the os in the titel-bar.
>
> Thank you
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.01747 seconds