Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to limit the size of a dropdown list in CCombo(Need to limit the list so it will not bleed out side the view)
How to limit the size of a dropdown list in CCombo [message #1837859] Mon, 08 February 2021 19:54 Go to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 117
Registered: July 2009
Senior Member
I created a Property page with the standard tool kit.
In the page I have a combo-box of type CCombo with 24 elements in the list.
If the overall view is minimized and small, the dropdown list of the combo-box bleeds out of the view into the screen and does not look nice (see image in file).
How can a limit the list size dynamically to the size of the Property Page view?

Thanks
Yigal
Re: How to limit the size of a dropdown list in CCombo [message #1837865 is a reply to message #1837859] Tue, 09 February 2021 02:21 Go to previous message
Martin J is currently offline Martin JFriend
Messages: 27
Registered: August 2015
Junior Member
setVisibleItemCount(visibleCount);
Previous Topic:Native GUI application with SWT and Skija on Raspberry Pi
Next Topic:Scrolled Composite does not work in MultipageEditor
Goto Forum:
  


Current Time: Sun Apr 18 04:50:00 GMT 2021

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

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

Back to the top