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. Resize layout

Resize layout

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    norrbotten68
    wrote on last edited by
    #1

    Hi,
    I need to put some components that will change size when form change size. I use vertical layout for buttons group, horizontal layout for graphics view and then put them to another layout so in designe mode all looks as I need. But when I start the application objects not resizing. If I program all components and don't use "Design" at all then I get the result I need. What's the problem?

    1 Reply Last reply
    0
    • Chris KawaC Online
      Chris KawaC Online
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Probably you're not setting layout at some level. Do you have a blue layout icon with a red crossed circle near any of your widgets in the designer tree?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        norrbotten68
        wrote on last edited by
        #3

        I can't find anything like that. Do you mean "Layout H" and "Layout V" on the top? Is it possible to program objects in code but be able to see them in "Designer"? There is a lot information in books just how to program objects but because I was a VS programmer in meany years I'll to see them in Designer too?

        1 Reply Last reply
        0
        • N Offline
          N Offline
          norrbotten68
          wrote on last edited by
          #4

          Ok I found how to fix that.

          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