From: Mathieu Baudier Date: Thu, 22 Jul 2021 06:44:39 +0000 (+0200) Subject: Fix method name. X-Git-Tag: argeo-commons-2.1.103~4 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=74f72bbc096ebb431686d1e93dd864dd00ab5ca5 Fix method name. --- diff --git a/org.argeo.cms.ui/src/org/argeo/cms/ui/util/CmsUiUtils.java b/org.argeo.cms.ui/src/org/argeo/cms/ui/util/CmsUiUtils.java index edf1ba3ef..e42894db7 100644 --- a/org.argeo.cms.ui/src/org/argeo/cms/ui/util/CmsUiUtils.java +++ b/org.argeo.cms.ui/src/org/argeo/cms/ui/util/CmsUiUtils.java @@ -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() {