0

I'm playing with the Sencha GXT desktopapp example. Tried all methods below to change the window size. But when I open the window, the size is not what I set.

window.setWidth(500);
window.setHeight(400);
window.setBodyStyle("width:500px;height:400px;background-color:red;");
window.setPixelSize(500, 400);
window.getElement().setSize(500, 400, true);
window.setMinHeight(400);
window.setMinWidth(500);
window.forceLayout();

The version is gxt-3.0.1-GPL

Eliran Malka
  • 15,821
  • 6
  • 77
  • 100
YongJiang Zhang
  • 1,989
  • 2
  • 20
  • 25

0 Answers0