Commit 428d7adf authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Make template wizard dialog fit smaller screens

Change-Id: I558443f2afbe08ee192d06f468bcd173f31997d0
parent e59d3337
......@@ -799,7 +799,7 @@ public class TemplateUploadWizard extends Wizard implements NewUrlDialogCallback
wrapper.add(panel);
initWidget(wrapper);
setStylePrimaryName("ode-ContextMenu");
setHeight("500px");
setHeight("355px");
}
public static void setTemplate(TemplateInfo info, String hostUrl) {
......@@ -879,7 +879,7 @@ public class TemplateUploadWizard extends Wizard implements NewUrlDialogCallback
templateCellList.setPageSize(list.size() + 10);
templateCellList.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
templateCellList.setWidth("250px");
templateCellList.setHeight("500px");
templateCellList.setHeight("355px");
templateCellList.setVisible(true);
templateCellList.getElement().getStyle().setOverflow(Style.Overflow.SCROLL);
......@@ -916,11 +916,11 @@ public class TemplateUploadWizard extends Wizard implements NewUrlDialogCallback
super.show();
// Wizard size (having it resize between page changes is quite annoying)
int width = 640;
int height = 600;
int height = 458;
this.center();
setPixelSize(width, height);
super.setPagePanelHeight(580);
super.setPagePanelHeight(400);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment