Fix method name.
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 22 Jul 2021 06:44:39 +0000 (08:44 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 22 Jul 2021 06:44:39 +0000 (08:44 +0200)
org.argeo.cms.ui/src/org/argeo/cms/ui/util/CmsUiUtils.java

index edf1ba3ef10e18d5d32482fdb106bfa59bb5801b..e42894db74ac6aad259d621e6e013e139501a81d 100644 (file)
@@ -183,18 +183,17 @@ public class CmsUiUtils implements CmsConstants {
        /*
         * ROW LAYOUT
         */
-       /** @return the same layout, with space and margins removed. */
-       public static RowLayout noSpaceRowLayout(RowLayout rowLayout) {
+       /** @return the same layout, with margins removed. */
+       public static RowLayout noMarginsRowLayout(RowLayout rowLayout) {
                rowLayout.marginTop = 0;
                rowLayout.marginBottom = 0;
                rowLayout.marginLeft = 0;
                rowLayout.marginRight = 0;
-               rowLayout.spacing = 0;
                return rowLayout;
        }
 
-       public static RowLayout noSpaceRowLayout(int type) {
-               return noSpaceRowLayout(new RowLayout(type));
+       public static RowLayout noMarginsRowLayout(int type) {
+               return noMarginsRowLayout(new RowLayout(type));
        }
 
        public static RowData rowData16px() {