Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Width of Combo Dropdown Box
Width of Combo Dropdown Box [message #467440] Tue, 31 January 2006 13:46
Boris Klug is currently offline Boris KlugFriend
Messages: 9
Registered: July 2009
Junior Member
Hi!

I use a SWT Combo with the style DROP_DOWN. The problem is that the text inside the drop down menu is wider than the combo can display when the drop down menu is closed.
What I want is that the menu expands it width to include the widest item in the menu list.

Here some ascii art of it. This is the closed state:
+--------------+
! Some Text   V!
+--------------+


Lets say there is am item in the menu which name is
"Some wider text here"

Standard behaviour in open state is :

+--------------+
! Some text   V!
+--------------+
| Some wider te|
| more items   |
+--------------+


What I want is this:
+--------------+
! Some text   V!
+--------------+-------+
| Some wider text here |
| more items           |
+----------------------+


Any way how I cant achieve this?
Previous Topic:additional widgets
Next Topic:Feedback *Greatly* Appreciated
Goto Forum:
  


Current Time: Mon Sep 16 16:04:42 GMT 2019

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

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

Back to the top