[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Window title font

However, on Gnome at least, it's a good bet that the font used in the title bar is simply the default font with an added SWT.BOLD styling. You'll have to play around with it on other platforms (I suggest an image editor like GIMP and a free afternoon), but I'm sure it's possible to get some sort of conditional native-font-emulation-ish that should work for what you need.

Daniel

Steve Northover wrote:

Nope.  The font that is used in the title bar belongs to the window manager
(on X systems).

"bogdan" <bogdan@xxxxxxxxxxxxxx> wrote in message
news:e23ac1e9526677da5cb9025bbb0a69a6$1@xxxxxxxxxxxxxxxxxx


I try to make widget which looks like window title bar,
Is it posible to check what font is used in title bar?

I was trying Shell.getFont() but it's definitely not title bar font.

pozdrawiam,
bogdan