Important: Please read the Qt Code of Conduct -

Layoutproblem after Screenrotation

  • Hello, I have widget-app on a tablet with dialogs in full-screen (->setWindowState(Qt::WindowFullScreen);)
    It starts in portrait and all looks good, rotation in landscape all looks good, rotation back in portrait -> the dialog is higher than the screen, mean top is a screen top, bottom is out of the screen.
    There is a QPlainTextEdit with VerticalPolicy=Minimum with a to large high then
    If I resize the window (an other program start in normal state) all works correct. The TextEdit takes always the rest size.

    Whats the problem with the layout manager.

Log in to reply