Qt World Summit: Submit your Presentation

Application resizing

  • Hi everyone,
    I'm developing an application in Qt and I need to resize it when the screen resolution change.
    I read some discussion that help me to use Qt Creator to layout management.

    At this moment when I change the screen resolution I'm able to resize the control inside the main window, but the text inside the controls (Push Button, Label, ...) doesn't change.

    I'd like to know where I'm wrong or if I have to do something else.

    Thanks in advance.

  • What is your ui layout? Did you use the Qt Designer or did you setup your gui with code?
    I mainly use the Qt Designer, and simply click on the main window and select "layout" and "Arrange objects in tabular" (this one is google translator... I don't know the exact term, but you will probably get the point :)
    And then it's done...

  • Have a look at "scalability in the docs":http://developer.qt.nokia.com/doc/qt-4.7/scalability.html.

Log in to reply