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. Problem on changing size of all widgets based on window size
Forum Updated to NodeBB v4.3 + New Features

Problem on changing size of all widgets based on window size

Scheduled Pinned Locked Moved Solved General and Desktop
resizewindow sizelayout
4 Posts 2 Posters 1.9k Views 2 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.
  • M Offline
    M Offline
    mjzarrin
    wrote on 11 Nov 2015, 16:33 last edited by SGaist 11 Dec 2015, 17:23
    #1

    I design an UI with qt creator. my problem is when i change window size all of content remain as same size as before . i want these content can expand based on window size.
    bellow i prepare 2 image from my app.
    default window size
    link text
    i'll be appreciated if somebody help me.
    thank u all.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Nov 2015, 16:44 last edited by
      #2

      Hi,

      Did you put your widgets inside layouts ? If not then that's what is missing to your UI

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 11 Nov 2015, 17:36
      1
      • S SGaist
        11 Nov 2015, 16:44

        Hi,

        Did you put your widgets inside layouts ? If not then that's what is missing to your UI

        M Offline
        M Offline
        mjzarrin
        wrote on 11 Nov 2015, 17:36 last edited by
        #3

        @SGaist
        thank u very much.
        I selected all items in each QStacks pages and then choose layout vertically by Ctrl+L and it works.
        thank you again.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 11 Nov 2015, 21:13 last edited by
          #4

          You're welcome !

          By the way, you don't need to change the title of the thread anymore, just use the "Topic Tool" button to mark the thread as solved.

          Also, while browsing the forum, consider up-voting the answers that helped you, that will make them easier to find for other forum users :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          11 Nov 2015, 16:33

          • Login

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