Skip to content

Commit

Permalink
gwt: Make popup window 3/4 of the screen instead of 1/2.
Browse files Browse the repository at this point in the history
  • Loading branch information
calin-iorgulescu committed Feb 10, 2015
1 parent 340362a commit 76f9f71
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public VmcheckerPopup() {
private void setup() {
hide();
popupCloseButton.setText(constants.popupCloseButton());
setWidth("" + (Window.getClientWidth()/2) + "px");
setWidth("" + (3 * Window.getClientWidth() / 4) + "px");
setHeight("" + (Window.getClientHeight() - 200) + "px");
setGlassEnabled(true);
detailsPopupContainer.add(popupCloseButton);
detailsPopupContainer.add(detailsPopupContent);
detailsPopupContent.setWidth("" + (Window.getClientWidth()/2 - 10) + "px");
detailsPopupContent.setWidth("" + ((3 * Window.getClientWidth() / 4) - 10) + "px");
detailsPopupContent.setHeight("" + (Window.getClientHeight() - 250) + "px");
add(detailsPopupContainer);
detailsPopupContainer.setStyleName(containerStyle);
Expand Down

0 comments on commit 76f9f71

Please sign in to comment.