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. ScrollArea and TabWidget resizing
Forum Updated to NodeBB v4.3 + New Features

ScrollArea and TabWidget resizing

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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.
  • A Offline
    A Offline
    adam.bogocz
    wrote on last edited by
    #1

    Hi all,
    I am having trouble with my app. I am not able to configure wigets to behave acording to my needs, I would appreciate help.

    This is "sketch" of my real app
    !http://s13.postimage.org/ibzzdh3p3/tab_Widget.png(sketch)!

    So the main widget of MainWindow is scrollArea.
    ScrollArea has vertical layout and contains 3 items.

    1. Is big button, which represents constant sized area in my real app
    2. Is spacer
    3. TabWidget, has layouts on both tabs.

    Now my problem. I am putting dynamically content into those tabs and I expect that if tab content cannot fit the tab than it will expand TabWidget in the scroll area.

    Now it is filling space right when it fits the place, nice spacing and so. But if I fill it with lets say more lines, than I can see the lines dissapearing somewhere down the tab and if I expand whole window TabWidget gets more space and more of my hiden widgets gets revealed.

    Any ideas how can I force the content of the tabwidget to expand it rather then hide under?

    Thank you,
    Adam

    1 Reply Last reply
    0
    • A Offline
      A Offline
      adam.bogocz
      wrote on last edited by
      #2

      c'mon, no tip at all :) ? Somebody must know what to do :(

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goblincoding
        wrote on last edited by
        #3

        Hi Adam,

        I'm not sure I understand your question. Perhaps you can also provide a screenshot of what is currently happening that you don't want to happen?

        http://www.goblincoding.com

        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