[Interest] QWidget resize on ios

Thiago Macieira thiago.macieira at intel.com
Tue May 6 17:23:27 CEST 2014

Em ter 06 maio 2014, às 17:08:44, Christophe Thomas escreveu:
> Dear all,
> I'm currently porting an app working on desktop on ios. I'm having trouble
> setting a fixed size to QDialog, I've tryed using dialog->resize(...) or
> even dialog->setFixedSize(..) with a size smaller than my iPad screen but
> the QDialog keeps beeing displayed in full screen.
> I've tryed setting the size in the constructor of the class or in a slot
> driven by an UI event with no chance.
> I'm using Qt 5.2.1.
> I have similar issue with QMessageBox that are displayed in full screen.

I'm guessing that's by design. All windows are full screen on iOS.

If you want something smaller, you need to draw yourself on the area of your 
fullscreen window.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list