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. QtDesigner - Unable to get scroll bar when using QScrollArea inside a QTabWidget
QtWS25 Last Chance

QtDesigner - Unable to get scroll bar when using QScrollArea inside a QTabWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
designerscrollarea
2 Posts 2 Posters 4.0k 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.
  • T Offline
    T Offline
    TechSupportJosh
    wrote on 22 Oct 2017, 17:24 last edited by
    #1

    Hi there,

    I'm trying to make a form scrollable, as there are lots of fields and they can't all fit on a single page. So, I've got something like this hooked up (apologies for the names, just trying to get the layout sorted). However, when I preview, there are no scroll bars visible even though the content clearly goes outside the tab / widget.
    alt text

    And here's what the preview looks like:
    alt text

    Any help would be great, thank you.

    K 1 Reply Last reply 22 Oct 2017, 19:26
    0
    • T TechSupportJosh
      22 Oct 2017, 17:24

      Hi there,

      I'm trying to make a form scrollable, as there are lots of fields and they can't all fit on a single page. So, I've got something like this hooked up (apologies for the names, just trying to get the layout sorted). However, when I preview, there are no scroll bars visible even though the content clearly goes outside the tab / widget.
      alt text

      And here's what the preview looks like:
      alt text

      Any help would be great, thank you.

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 22 Oct 2017, 19:26 last edited by
      #2

      Your scroll area doesn't have a layout. Remove the outermost nested vertical layout (verticalLayout_5) and use Layout in ... context menu to set the layout to your scroll area.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      3

      2/2

      22 Oct 2017, 19:26

      • Login

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