Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Setting ToolItem Alignment
Setting ToolItem Alignment [message #1032670] Wed, 03 April 2013 09:22 Go to next message
Bastian Wagenfeld is currently offline Bastian WagenfeldFriend
Messages: 183
Registered: January 2013
Senior Member
Hi,

In my TrimmedWindow there is a WindowTrim with a Toolbar. This Toolbar is on top. Now I have four items and one separator item between the first two items and the other two items. The separator should create a little space between the two item groups. So my approach was to set .MToolBarSeparator{margin-left: 100px;} in my css. This doesn't work. Do I have to do something else, to achieve this?

Best regards
Bastian
Re: Setting ToolItem Alignment [message #1032781 is a reply to message #1032670] Wed, 03 April 2013 12:27 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

If you want some extra space between toolitems add a tool control in between and tag it with 'stretch' (TrimBarLayout.SPACER).
Re: Setting ToolItem Alignment [message #1032793 is a reply to message #1032781] Wed, 03 April 2013 12:43 Go to previous message
Bastian Wagenfeld is currently offline Bastian WagenfeldFriend
Messages: 183
Registered: January 2013
Senior Member
Hi,

thanks. That works so far, but I'd rather have it more dynamically, like in CSS.
It would be great, if there'd be possibility to do it via CSS.

Thank you.
Bastian
Previous Topic:simple text field widget does not work
Next Topic:How to change the label of a ToolControlImpl
Goto Forum:
  


Current Time: Wed Mar 29 01:33:10 GMT 2017

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

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