Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » standard button width in wizards and dialogs?
standard button width in wizards and dialogs? [message #336816] Sat, 04 July 2009 09:12 Go to next message
Eclipse UserFriend
Hi,

when using jdt I noticed that buttons have a common width, which is
broader than the minimum width would be.
Is there a default width value for buttons in eclipse or is that jdt
specific?
And what value would that be?

And finally (although more SWT related) would I get this by setting the
width hint of my layoutData objects?

regards

Christoph
Re: standard button width in wizards and dialogs? [message #336836 is a reply to message #336816] Mon, 06 July 2009 11:14 Go to previous message
Eclipse UserFriend
See org.eclipse.jface.dialogs.DialogPage.setButtonLayoutData(But ton),
org.eclipse.jface.dialogs.Dialog.createButton(Composite, int, String,
boolean), and
org.eclipse.jface.dialogs.Dialog.setButtonLayoutData(Button) for where
eclipse sets the widths for most wizard pages and dialogs.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:remove toolbar/menu entries contributed by other plugins
Next Topic:Compile & Build Eclipse from Sourcecode does NOT work!!
Goto Forum:
  


Current Time: Fri Apr 25 21:55:09 EDT 2025

Powered by FUDForum. Page generated in 0.04260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top