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: 1310
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 Sternberg

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:Resize event and composite bounds
Next Topic:Problem with browser navigation in IE
Goto Forum:

Current Time: Mon Nov 30 13:32:53 GMT 2015

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

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