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

  • 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.

  • Qt Champions 2017

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.