Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » control width of combo box?
control width of combo box? [message #1610836] Wed, 11 February 2015 02:15 Go to next message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
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 08:30 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 432
Registered: July 2009
Senior Member

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 16:16 Go to previous message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
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: Mon Sep 24 11:41:09 GMT 2018

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

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

Back to the top