Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@99026 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-25 18:30:14 +00:00 committed by Giancarlo Panichi
parent 75a4195ddc
commit 0062181abd
1 changed files with 10 additions and 10 deletions

View File

@ -69,7 +69,7 @@ public class WizardWindow extends Window {
protected EventBus eventBus;
protected ToolBar toolbar;
protected ToolBar cardMoveToolBar;
/**
* Create a new Wizard Window with the specified title.
@ -102,9 +102,9 @@ public class WizardWindow extends Window {
cardContainer = new CardLayoutContainer();
container.add(cardContainer, new VerticalLayoutData(1, 1));
toolbar = new ToolBar();
toolbar.setSpacing(2);
toolbar.addStyleName(ThemeStyles.getStyle().borderTop());
cardMoveToolBar = new ToolBar();
cardMoveToolBar.setSpacing(2);
cardMoveToolBar.addStyleName(ThemeStyles.getStyle().borderTop());
backButton = new TextButton(BUTTONBACKLABEL);
backButton.setIcon(ResourceBundle.INSTANCE.wizardPrevious());
@ -112,17 +112,17 @@ public class WizardWindow extends Window {
backButton.setEnabled(false);
backButton.setTabIndex(1001);
toolbar.add(backButton,new BoxLayoutData(new Margins(1)));
toolbar.add(new FillToolItem());
cardMoveToolBar.add(backButton,new BoxLayoutData(new Margins(1)));
cardMoveToolBar.add(new FillToolItem());
nextButton = new TextButton(BUTTONNEXTLABEL);
nextButton.setIcon(ResourceBundle.INSTANCE.wizardNext());
nextButton.setIconAlign(IconAlign.RIGHT);
nextButton.setTabIndex(1000);
toolbar.add(nextButton, new BoxLayoutData(new Margins(1)));
cardMoveToolBar.add(nextButton, new BoxLayoutData(new Margins(1)));
toolbar.setLayoutData(new VerticalLayoutData(1, -1));
container.add(toolbar);
cardMoveToolBar.setLayoutData(new VerticalLayoutData(1, -1));
container.add(cardMoveToolBar);
SelectHandler selectionHandler = new SelectHandler() {
@ -288,7 +288,7 @@ public class WizardWindow extends Window {
close(false);
}
};
toolbar.forceLayout();
cardMoveToolBar.forceLayout();
forceLayout();
}