| Design and Test/Preview smaller than when running application [message #730633] |
Wed, 28 September 2011 14:39  |
mathew.rowley Messages: 7 Registered: April 2010 |
Junior Member |
|
|
I have been noticing that when designing GUIs with WindowBuilder, the Design pane and when previewing the window, the text is not the same size as when actually running the application. Please refer to the attached screenshot as an example:
Left dialog is preview
Middle is in the WindowBuilder Design pane
Right is the actual application running
notice the 'Create AVD" is cut off on the button..
|
|
|
| Re: Design and Test/Preview smaller than when running application [message #730647 is a reply to message #730633] |
Wed, 28 September 2011 15:07   |
Konstantin Scheglov Messages: 547 Registered: July 2009 |
Senior Member |
|
|
I don't know why text is bigger on run.
This may be some feature of OSX, when you can change default font for application.
But in any case, I don't recommend you design your GUI in the way which depends on exact font size.
Even if at runtime you see same font as under design, user may be has bigger font and will have same problem.
So, you real layouts, like GridLayout.
Don't use absolute layouts.
Konstantin Scheglov,
Google, Inc.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01961 seconds