Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Activate scroll bar?

Activate scroll bar?

Scheduled Pinned Locked Moved Unsolved Qt for Python
5 Posts 4 Posters 640 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.
  • J Offline
    J Offline
    Julie Db
    wrote on 26 May 2020, 23:21 last edited by Julie Db
    #1

    How I can activate this scroll bar with Qt Designer?

    11563a05-1845-4b12-8fa8-f18409c6a95b-image.png

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Julie Db
      wrote on 27 May 2020, 15:29 last edited by
      #2

      i'm want to know if is possible to activate the scroll bar of lineScroll with the QtDesigner (without input the Qt code in the scope)..

      About this configs:

      1954615e-1686-4584-8c14-2855a2c8b104-image.png

      J 1 Reply Last reply 27 May 2020, 15:41
      0
      • J Julie Db
        27 May 2020, 15:29

        i'm want to know if is possible to activate the scroll bar of lineScroll with the QtDesigner (without input the Qt code in the scope)..

        About this configs:

        1954615e-1686-4584-8c14-2855a2c8b104-image.png

        J Offline
        J Offline
        JonB
        wrote on 27 May 2020, 15:41 last edited by JonB
        #3

        @Julie-Db
        I could (well!) be wrong, but try unchecking that widgetResizable? I don't know for sure whether scroll bars activate to allow scrolling at design-time in the Designer. Also, I can't see/tell what widget you have picked to be the QScrollArea's widget? If you have that wrong, it may well affect ability to display/scroll.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SimonSchroeder
          wrote on 28 May 2020, 06:19 last edited by
          #4

          I believe you are missing a layout for the widget living inside the QScrollArea. So far there is no reason for the widget inside the scroll area to be larger than the scroll area itself. If you put the buttons into the layout of the widget inside the scroll area, the widget will resize accordingly and trigger the use of scrollbars when necessary.

          J 1 Reply Last reply 28 May 2020, 06:52
          0
          • S SimonSchroeder
            28 May 2020, 06:19

            I believe you are missing a layout for the widget living inside the QScrollArea. So far there is no reason for the widget inside the scroll area to be larger than the scroll area itself. If you put the buttons into the layout of the widget inside the scroll area, the widget will resize accordingly and trigger the use of scrollbars when necessary.

            J Offline
            J Offline
            JonB
            wrote on 28 May 2020, 06:52 last edited by JonB
            #5

            @SimonSchroeder
            Which is what I tried to suggest to the OP via

            Also, I can't see/tell what widget you have picked to be the QScrollArea's widget? If you have that wrong, it may well affect ability to display/scroll.

            1 Reply Last reply
            0

            1/5

            26 May 2020, 23:21

            • Login

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