Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Scout RAP - Margin between group box columns(Reduce space between two grid columns in a group box)
Scout RAP - Margin between group box columns [message #1234351] Tue, 21 January 2014 19:16 Go to next message
Rajitha Kantamneni is currently offline Rajitha Kantamneni
Messages: 7
Registered: January 2014
Junior Member
Through Scout.css I was able to reduce border width/padding for a group box, but not the margin between grid columns when the group box is having more than one column.

Is there a way to reduce margin either through style sheet or programmatically or by setting some properties?

Re: Scout RAP - Margin between group box columns [message #1235139 is a reply to message #1234351] Thu, 23 January 2014 16:49 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio Guglielmo
Messages: 127
Registered: March 2010
Senior Member
Hi Rajitha

You can use the extension point org.eclipse.scout.rt.ui.rap.lookAndFeel to change the default. Just add the following snippet to the plugin.xml of your rap bundle, or use the provided eclipse editor.

 <extension
        point="org.eclipse.scout.rt.ui.rap.lookAndFeel">
     <properties
           scope="global">
        <property
              name="logicalGridLayout.horizontalGap"
              value="2">
        </property>
     </properties>
  </extension>


Hope it helps
Claudio
Re: Scout RAP - Margin between group box columns [message #1235193 is a reply to message #1235139] Thu, 23 January 2014 19:41 Go to previous message
Rajitha Kantamneni is currently offline Rajitha Kantamneni
Messages: 7
Registered: January 2014
Junior Member
Thank you Claudio, it worked.
Previous Topic:Resizing/lower resolution issue
Next Topic:Problems with renamed server session
Goto Forum:
  


Current Time: Fri Oct 24 15:31:02 GMT 2014

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

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