You can either call Display#getHostWindow() and set the size on that or pass --width and --height command-line arguments to your app.
On Oct 3, 2011, at 2:58 AM, pan peter wrote: > i made a window based on the menu bars example, but i cannot change the > window size with either set size or set preferred size from both java code > and bxml code, the window is always around 800x600. > > anyway to set the window bigger? > > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/how-to-change-the-window-size-tp3389326p3389326.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
