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. How change scrollbar knob "acceptance" area size?
Qt 6.11 is out! See what's new in the release blog

How change scrollbar knob "acceptance" area size?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 350 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.
  • G Offline
    G Offline
    Gourmet
    wrote on last edited by
    #1

    I have customized vertical QScrollBar with reduced knob width. I did this using stylesheet. It works on touchscreen but it is too much thin to accept finger taps and move. I want keep it's visible size but increase area around where it accepts finger taps. On picture the white bar shows scrollbar knob and a doted border shows area when finger taps (or mouse clicks) must be accepted. Is it possible do this with just style sheet for this scrollbar? Or I have only inherit then rewrite this class?

    alt text

    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