Skip to main content


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] Sun, 30 June 2013 01:18 Go to next message
David Song is currently offline David SongFriend
Messages: 217
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 372 times)

[Updated on: Mon, 01 July 2013 00: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 09:35 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
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 10:04 Go to previous messageGo to next message
David Song is currently offline David SongFriend
Messages: 217
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 08:02 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
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 11:59 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
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:I wondering d3 charting widget.
Goto Forum:
  


Current Time: Fri Apr 26 04:31:46 GMT 2024

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

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

Back to the top