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. Cannot set layout for a widget form

Cannot set layout for a widget form

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 185 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.
  • G Offline
    G Offline
    GunkutA
    wrote on 3 Sept 2020, 05:43 last edited by
    #1

    Hello I cannot set a layout to the widget form I created. That is the related screenshot:
    Screenshot_2.png

    How can I set a layout to it?

    J 1 Reply Last reply 3 Sept 2020, 08:17
    0
    • B Offline
      B Offline
      Bonnie
      wrote on 3 Sept 2020, 05:58 last edited by Bonnie 9 Mar 2020, 05:58
      #2

      You must add a child widget to it first, then you can set the layout.
      You can delete the added widget after that.

      1 Reply Last reply
      4
      • G GunkutA
        3 Sept 2020, 05:43

        Hello I cannot set a layout to the widget form I created. That is the related screenshot:
        Screenshot_2.png

        How can I set a layout to it?

        J Offline
        J Offline
        JonB
        wrote on 3 Sept 2020, 08:17 last edited by
        #3

        @GunkutA
        Just so you know: what @Bonnie has said is correct, and it's about one of the least obvious features imaginable in Qt Creator! You are not alone, it took me ages to realize this is how it works!

        1 Reply Last reply
        0

        1/3

        3 Sept 2020, 05:43

        • Login

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