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 reduce size of main window.
QtWS25 Last Chance

Cannot reduce size of main window.

Scheduled Pinned Locked Moved Unsolved General and Desktop
designdesign modedesigner
4 Posts 2 Posters 2.6k 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.
  • R Offline
    R Offline
    ronyNS
    wrote on 15 Aug 2016, 17:50 last edited by
    #1

    Hello
    i have made a login form , everything works perfectly fine.
    I have horizontal layout on the main window.
    The problem is when i run the program , i cannot reduce the size of the window horizontaly . i can do it vertically.
    Same happens in design mode , i can move the main window vertically but not horizontally.
    When i try to change geometry , it does not change , i tried all size policies , but nothing happens.
    What is the problem, is it because of the layout? or something else.
    Please help.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 15 Aug 2016, 18:42 last edited by
      #2

      well, did you set minimum size on something or have a QLabel with image?
      Did you call setFixedSize or something like that?

      1 Reply Last reply
      1
      • R Offline
        R Offline
        ronyNS
        wrote on 16 Aug 2016, 09:37 last edited by
        #3

        Hello
        I have a QLabel with an image , does that make a difference?
        It's not there on the designer , but still my designer does not resize horizontally even when the program is not running.
        I did not call setFixedSize and i did not set minimum size.
        Thank You

        M 1 Reply Last reply 16 Aug 2016, 09:43
        0
        • R ronyNS
          16 Aug 2016, 09:37

          Hello
          I have a QLabel with an image , does that make a difference?
          It's not there on the designer , but still my designer does not resize horizontally even when the program is not running.
          I did not call setFixedSize and i did not set minimum size.
          Thank You

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 16 Aug 2016, 09:43 last edited by mrjj
          #4

          @ronyNS
          Hi yes, i have such issue with image in QLabel and layouts.
          Try to clear it and see if its it :)

          also , just to test, if u make new project, does it allow to scale mainwin in designer?

          1 Reply Last reply
          0

          4/4

          16 Aug 2016, 09:43

          • Login

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