Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Dialog font to be added to 2.1

As of 2.1 there is a another font to be added to the list of fonts provided
by Eclipse. This is the Dialog Font which is a font intended to be applied
to lists, tables, buttons and labels in a dialog. The default value is the
system default font.

This font has been added as the default font from SWT is not an appropriate
font for these widgets in all places, particularly in some of the UNIX
platforms like HP-UX or GTK. The preference pages, property pages and
creation dialogs provided by org.eclipse.ui now use this font in all of
thier widgets.

It can be accessed by calling JFaceProperties.getDialogFont(). Also note
that a convenience method setButtonLayoutData() has been added to Dialog,
DialogPage and FieldEditor so that you can size your push buttons in the
same way as the otehrs ones in dialogs.

Tod



Back to the top