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. Page Layouts
Qt 6.11 is out! See what's new in the release blog

Page Layouts

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 577 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.
  • C Offline
    C Offline
    crosier011
    wrote on last edited by
    #1

    I'm trying to set the layout of a QStackedWidget in the ui editor. It allows me to set the layout for the entire QStackedWidget itself, but not for individual pages. When I set the layout, it sets the first created page of the stacked widget to that layout, but none others, preventing me from setting the layout for any further pages. I'd appreciate any articles on how to learn about using layouts in qt community.

    Thank you.Layouts.png

    JonBJ 1 Reply Last reply
    0
    • C crosier011

      I'm trying to set the layout of a QStackedWidget in the ui editor. It allows me to set the layout for the entire QStackedWidget itself, but not for individual pages. When I set the layout, it sets the first created page of the stacked widget to that layout, but none others, preventing me from setting the layout for any further pages. I'd appreciate any articles on how to learn about using layouts in qt community.

      Thank you.Layouts.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @crosier011
      Select the second page. Add some widget onto it. Now you should be able to set layout on the page widget.

      C 1 Reply Last reply
      1
      • JonBJ JonB

        @crosier011
        Select the second page. Add some widget onto it. Now you should be able to set layout on the page widget.

        C Offline
        C Offline
        crosier011
        wrote on last edited by
        #3

        @JonB Thank you.

        1 Reply Last reply
        0

        • Login

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