Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » toolitem's dynamic width to grab the right space of toolbar?
toolitem's dynamic width to grab the right space of toolbar? [message #1066078] Sat, 29 June 2013 21:18 Go to next message
Song David is currently offline Song David
Messages: 187
Registered: April 2011
Senior Member
Hi,

the toolBar is fill the width of its parent, and how to set middle toolitem's dynamic width to grab the right space of toolbar? and let the the right toolitem to align at the end of the toobar?

AND BY THE WAY when the style of toolBar to SWT.WRAP, it does not wrap

index.php/fa/15422/0/


thanks
David
  • Attachment: toolBar.png
    (Size: 4.62KB, Downloaded 112 times)

[Updated on: Sun, 30 June 2013 20:37]

Report message to a moderator

Re: toolitem's dynamic width to grab the right space of toolbar? [message #1066148 is a reply to message #1066078] Mon, 01 July 2013 05:35 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

As far as I know, that's not possible with SWT.

Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: toolitem's dynamic width to grab the right space of toolbar? [message #1066159 is a reply to message #1066148] Mon, 01 July 2013 06:04 Go to previous messageGo to next message
Song David is currently offline Song David
Messages: 187
Registered: April 2011
Senior Member
Thanks Ralf, Are you going to add this feature to the futrue version?
Re: toolitem's dynamic width to grab the right space of toolbar? [message #1066323 is a reply to message #1066159] Tue, 02 July 2013 04:02 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

On 07/01/2013 12:04 PM, Song David wrote:
> Thanks Ralf, Are you going to add this feature to the futrue version?

Since it's not possible in SWT, it can't be done in RAP.

I think the right way to implement this design is a Composite with one
Toolbar on the left and one on the right. The stretched control in the
middle is probably a Text widget, isn't it?

Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: toolitem's dynamic width to grab the right space of toolbar? [message #1066383 is a reply to message #1066323] Tue, 02 July 2013 07:59 Go to previous message
Song David is currently offline Song David
Messages: 187
Registered: April 2011
Senior Member
thanks a lot, it appears that this can only be a helpless way.
Regard
David
Previous Topic:Bug 366660 - Paginated table control
Next Topic:white screen when waiting for response
Goto Forum:
  


Current Time: Tue Sep 02 10:10:35 EDT 2014

Powered by FUDForum. Page generated in 0.01751 seconds