Commit 3928a8c8 authored by Hélène Ortiz's avatar Hélène Ortiz

Restore a little top margin in command box (top margin of 1px in

rowlayout and 2px in gridlayout).
parent 30fbd66b
4.0.49 dd/mm/yyyyy
------
* Restore a little top margin in command box (top margin of 1px in rowlayout and 2px in gridlayout).
4.0.48 22/07/2020
------
* Improve vertical alignment in command box (remove top margin of 4px in gridlayout and rowlayout).
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadgui</artifactId>
<version>4.0.48</version>
<version>4.0.49-SNAPSHOT</version>
<name>NomadGUI</name>
<description>Graphical user interface for Nomad</description>
<scm>
......
......@@ -385,7 +385,7 @@ public class SWTWidgetFactory extends WidgetFactory {
gridLayout.marginHeight = 0;
gridLayout.marginWidth = 0;
gridLayout.marginBottom = 4;
gridLayout.marginTop = 0;
gridLayout.marginTop = 2;
return gridLayout;
}
......@@ -815,7 +815,7 @@ public class SWTWidgetFactory extends WidgetFactory {
rowLayout.justify = justify;
rowLayout.type = orientation; // SWT.VERTICAL or SWT.HORIZONTAL
rowLayout.spacing = 0;
rowLayout.marginTop = 0;
rowLayout.marginTop = 1;
rowLayout.marginWidth = 0;
rowLayout.marginLeft = 0;
rowLayout.marginRight = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment