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. PyQt5 - How to slow down QScrollArea speed and make it smoother?
Forum Updated to NodeBB v4.3 + New Features

PyQt5 - How to slow down QScrollArea speed and make it smoother?

Scheduled Pinned Locked Moved Solved Qt for Python
5 Posts 3 Posters 1.5k 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.
  • PatitotectiveP Offline
    PatitotectiveP Offline
    Patitotective
    wrote on last edited by Patitotective
    #1

    Following some tutorial i've made a ScrolLabel to display large text, i added some stylesheet and it looks great, but when i scroll it's too fast, and i would like to make it smoother.
    So i would like to make the scroll in a QScrollArea smoother.

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You can fiddle with the single and page step properties of the scrollbars.

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

      PatitotectiveP 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You can fiddle with the single and page step properties of the scrollbars.

        PatitotectiveP Offline
        PatitotectiveP Offline
        Patitotective
        wrote on last edited by
        #3

        @SGaist I can't find how to access to the scrollbar of QScrollArea. Any idea?

        eyllanescE 1 Reply Last reply
        0
        • PatitotectiveP Patitotective

          @SGaist I can't find how to access to the scrollbar of QScrollArea. Any idea?

          eyllanescE Offline
          eyllanescE Offline
          eyllanesc
          wrote on last edited by
          #4

          @Patitotective Use hscrollbar = scrollarea.horizontalScrollBar() and vscrollbar = scrollarea.verticalScrollBar()

          If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

          1 Reply Last reply
          1
          • PatitotectiveP Offline
            PatitotectiveP Offline
            Patitotective
            wrote on last edited by
            #5

            If anyone is interested in a scrollable label, see: scrollable_label.py.

            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