Skip to main content



      Home
Home » Eclipse Projects » Nebula » control width of combo box?
control width of combo box? [message #1610836] Tue, 10 February 2015 21:15 Go to next message
Eclipse UserFriend
How do I set width of nebula tablecombo? Is there any API?
Re: control width of combo box? [message #1611239 is a reply to message #1610836] Wed, 11 February 2015 03:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sunny,

What do you mean is there any API? All public methods on the widget are API.

Width is set like any SWT control i.e. setWidth You should not use it however but use layouts instead [1]

Cheers,

Wim

[1] http://www.eclipse.org/articles/article.php?file=Article-Understanding-Layouts/index.html
Re: control width of combo box? [message #1614973 is a reply to message #1611239] Fri, 13 February 2015 11:16 Go to previous message
Eclipse UserFriend
I tried GridData and specified a widthHint of the gridData..but combo box always seem to occupy the full width of the cell in which the combobox is placed.
Previous Topic:Contribution Project Setup
Next Topic:Possible Error in XYGraph
Goto Forum:
  


Current Time: Sat May 03 07:52:27 EDT 2025

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

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

Back to the top