Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QStackedWidget with layouts
Qt 6.11 is out! See what's new in the release blog

QStackedWidget with layouts

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 342 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hobbyProgrammer
    wrote on last edited by
    #1

    Hi,

    I just created a small app with one window that contains a stackedwidget. I would like to create multiple screens with that QStackedWidget, but they all need a responsive layout.
    Right now when I enlarge my window, it doesn't scale.
    Is there any way I can make my QStackedWidget scalable & responsive?

    jsulmJ 1 Reply Last reply
    0
    • H hobbyProgrammer

      Hi,

      I just created a small app with one window that contains a stackedwidget. I would like to create multiple screens with that QStackedWidget, but they all need a responsive layout.
      Right now when I enlarge my window, it doesn't scale.
      Is there any way I can make my QStackedWidget scalable & responsive?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @hobbyProgrammer said in QStackedWidget with layouts:

      Is there any way I can make my QStackedWidget scalable & responsive?

      Sure, put it into a layout.
      There is an example: https://doc.qt.io/qt-5/qstackedwidget.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved