Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Setting ToolItem Alignment
Setting ToolItem Alignment [message #1032670] Wed, 03 April 2013 05:22 Go to next message
Eclipse UserFriend
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 08:27 Go to previous messageGo to next message
Eclipse UserFriend
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 08:43 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Setting ToolItem Alignment [message #1808151 is a reply to message #1032781] Tue, 18 June 2019 05:02 Go to previous message
Eclipse UserFriend
@Sopot: that works in a TrimBar but not in a Toolbar, supposedly. Right?

@Bastian: could you achieve your extra-space somehow?
Previous Topic:Save and Restore workbench
Next Topic:How to left/right align toolitems in toolbar?
Goto Forum:
  


Current Time: Sat Jul 05 06:23:30 EDT 2025

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

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

Back to the top