SWT font sensitive [message #461716] |
Wed, 28 September 2005 08:30 |
Eclipse User |
|
|
|
Originally posted by: info.zuehlke-it.de
Hello after I now substantial progressed in swt programming made, would
like I the following question to be occupied.
Is there already pattern for swt, that it made possible, a complete GUI
font sensitve to design/layout?
When an example, on which Amiga system give/gives it to MUI.
Selected there I a character set and a character size out, the effect on
all child elements had, the appropriate were widget adapted and
again-computed indicated.
Give a pattern or a other solution for swt/java?? I hope this...
|
|
|
Re: SWT font sensitive [message #461720 is a reply to message #461716] |
Wed, 28 September 2005 13:17 |
Jeff Myers Messages: 489 Registered: July 2009 |
Senior Member |
|
|
My guess is that you need to use SWT's layout managers rather than
absolutely sizing and positioning your elements. Layout managers will
allow you to design how your UI is laid out when there are changes to
the window size, different font sizes, etc. You can get an overview of
how Layout Managers work here:
http://java.sun.com/docs/books/tutorial/uiswing/layout/index .html
Then specifics on using SWT's LayoutManagers from the SWT Snippets:
http://www.eclipse.org/swt/snippets/
and the SWT Javadoc:
http://help.eclipse.org/help31/nftopic/org.eclipse.platform. doc.isv/reference/api/org/eclipse/swt/layout/package-summary .html
Hope this helps,
- Jeff
Erik Zuehlke wrote:
> Hello after I now substantial progressed in swt programming made, would
> like I the following question to be occupied.
>
> Is there already pattern for swt, that it made possible, a complete GUI
> font sensitve to design/layout?
> When an example, on which Amiga system give/gives it to MUI.
> Selected there I a character set and a character size out, the effect on
> all child elements had, the appropriate were widget adapted and
> again-computed indicated.
>
> Give a pattern or a other solution for swt/java?? I hope this...
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02664 seconds