From dd280373b1c7de9329e3a5a0cecd97459ea4d5d0 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 25 Jul 2014 18:54:08 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@99028 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/wizardwidget/client/WizardWindow.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java index a4158aa..b68be78 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java @@ -70,6 +70,8 @@ public class WizardWindow extends Window { protected EventBus eventBus; protected ToolBar cardMoveToolBar; + + protected FillToolItem fillSpacingCardMoveToolBar; /** * Create a new Wizard Window with the specified title. @@ -113,7 +115,10 @@ public class WizardWindow extends Window { backButton.setEnabled(false); backButton.setTabIndex(1001); cardMoveToolBar.add(backButton,new BoxLayoutData(new Margins(1))); - cardMoveToolBar.add(new FillToolItem()); + + fillSpacingCardMoveToolBar=new FillToolItem(); + + cardMoveToolBar.add(fillSpacingCardMoveToolBar); nextButton = new TextButton(BUTTONNEXTLABEL); nextButton.setIcon(ResourceBundle.INSTANCE.wizardNext()); @@ -288,7 +293,6 @@ public class WizardWindow extends Window { close(false); } }; - cardMoveToolBar.forceLayout(); forceLayout(); }