hushanxue / android-lighthouse

Automatically exported from code.google.com/p/android-lighthouse
0 stars 0 forks source link

setFixedSize( ) dialogs become blank when changing orientation #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

In my desktop application I have a couple dialogs that I like to keep at fixed 
size, by using setFixedSize() in the constructor like this:

==
SettingsWindow::SettingsWindow(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::SettingsWindow)
{
    ui->setupUi(this);
    setFixedSize(width(), height());
==

On Android this seems to work as well initially.
But if you change the orientation of the device (e.g. portrait -> landscape) 
the screen becomes blank.
And even after rotating it back to the original orientation, the screen remains 
black.

Original issue reported on code.google.com by maxnet...@gmail.com on 25 Nov 2010 at 11:25

GoogleCodeExporter commented 9 years ago
Fixed in android_sw plugin (master branch).

Original comment by taipanro...@gmail.com on 3 Dec 2010 at 6:47

GoogleCodeExporter commented 9 years ago
Fixed in android_sw plugin (master branch).

Original comment by taipanro...@gmail.com on 3 Dec 2010 at 6:47