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 a layout

Resize a layout

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 660 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.
  • A Offline
    A Offline
    abhay
    wrote on last edited by
    #1

    Hello...Please go through this link.
    https://s11.postimg.org/elxhpkqbn/Screenshot_from_2016_10_18_22_57_44.png
    I want the second layout which contains pushbuttons to look smaller. It occupies approx half the width of the total window.I want it to like something similar to Vlc player(top box is video widget and below one is for the buttons).When I am resizing it won't resize and I want to be responsive.Can anyone help me in this issue?Thanks!

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      you have to set the vertical size policy of the QWidget and the QGroupBox to Expanding

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      A 1 Reply Last reply
      3
      • VRoninV VRonin

        you have to set the vertical size policy of the QWidget and the QGroupBox to Expanding

        A Offline
        A Offline
        abhay
        wrote on last edited by
        #3

        @VRonin Thanks!! I feel stupid..

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          Don't, please! we all have been there

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          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