You can set both the minimum and maximum width to the same value.
LE: i have tried setFixedWidth and it works as expected with SDK 1.1 on Windows 7.
You can set both the minimum and maximum width to the same value.
LE: i have tried setFixedWidth and it works as expected with SDK 1.1 on Windows 7.
evergreen (16th May 2011)
I've tried it : setMaximumWidth(630); setMinimumWidth(630);
The window gets the size I want but the recize button of the tittle bar is still disabled.
To be clearer I want that when the user click on this button, the window's width stays at 630px but the heigth be miximized.
My bad - i didn't understood what you meant by "auto-resize" and "resize button" - but i don't think that is possible to keep that button usable with one fixed size, that maximize button is for maximizing the window on both directions, not on only on one.
But your users can manually drag the margin of the window to "maximize" it on only one direction, isn't it acceptable?
Bookmarks