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
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 Sternberg
Messages: 1290
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:Resize event and composite bounds
Next Topic:Problem with browser navigation in IE
Goto Forum:
  


Current Time: Mon Sep 22 02:28:53 GMT 2014

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

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