Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ExpandBar in RCP(setting the height and width of ExpandBar)
ExpandBar in RCP [message #691662] Sat, 02 July 2011 00:54 Go to next message
Kumar  is currently offline Kumar Friend
Messages: 1
Registered: July 2011
Junior Member
I have defined an ExpandBar like this:
ExpandBar xBar = new ExpandBar (parent, SWT.V_SCROLL);

How do I increase the height of the bar.
SetSize method seem to have no effect.
Any help is appreciated much.
Thank you!
Re: ExpandBar in RCP [message #692050 is a reply to message #691662] Sun, 03 July 2011 10:11 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

setSize does only work for absolute positioning. Please make sure you
understand how layouts work in SWT. Our project page has a couple of
links to get you started.

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:(no subject)
Next Topic:Problem with browser navigation in IE
Goto Forum:
  


Current Time: Thu Mar 28 22:26:52 GMT 2024

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

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

Back to the top