Improve CmsView capabilities.
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / ui / widgets / TabbedArea.java
index a9459519aab4bf40ae24a6d2b82df73972616085..12ef97557bb79e8a886a054f136eee8894466953 100644 (file)
@@ -132,7 +132,7 @@ public class TabbedArea extends Composite {
                }
                currentUiProvider = uiProvider;
                section.setNode(context);
-               section.setLayoutData(CmsUiUtils.coversAll());
+               section.setLayoutData(CmsUiUtils.coverAll());
                build(section, uiProvider, context);
                if (sections.size() == 0)
                        sections.add(section);
@@ -159,7 +159,7 @@ public class TabbedArea extends Composite {
                int currentIndex = sections.indexOf(currentSection);
                Section previousSection = new Section(body, SWT.NONE, context);
                build(previousSection, previousUiProvider, previousNode);
-               previousSection.setLayoutData(CmsUiUtils.coversAll());
+               previousSection.setLayoutData(CmsUiUtils.coverAll());
 //             sections.remove(currentSection);
                sections.add(currentIndex + 1, previousSection);
 //             sections.add(currentSection);