Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » setWidth of ToolItem
setWidth of ToolItem [message #455168] Mon, 09 May 2005 15:28 Go to next message
Michael Seele is currently offline Michael SeeleFriend
Messages: 124
Registered: July 2009
Senior Member
hi,
i want to set the width of my toolItem! but it doesn't work -> the item
has not the width i set to them. what's my mistake?
Re: setWidth of ToolItem [message #455172 is a reply to message #455168] Mon, 09 May 2005 19:13 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
ToolItem.setWidth(int) only sets the width of ToolItems with style SEPARATOR
(the purpose of this is to specify the width to allocate for a control
that's being inserted into the ToolBar by putting it into a SEPARATOR
ToolItem). If you're seeing this not work for a SEPARATOR ToolItem of yours
then please log a bug report with Platform - SWT.

There is not a way to change a non-SEPARATOR ToolItem's width beyond
changing its content.

Grant

"Michael Seele" <mseele@guh-software.de> wrote in message
news:67c0ac249fc3dc2ba1c4dd3e16ede079$1@www.eclipse.org...
> hi,
> i want to set the width of my toolItem! but it doesn't work -> the item
> has not the width i set to them. what's my mistake?
>
Previous Topic:OpenTypeSelection Dialog
Next Topic:Safe save file dialog, how?
Goto Forum:
  


Current Time: Thu Apr 25 19:49:37 GMT 2024

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

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

Back to the top