Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Shrunk scrollbar takes up same amount of space.
Qt 6.12 LTS is out! See what's new in the release blog

Shrunk scrollbar takes up same amount of space.

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 698 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm trying to shrink a scrollbar in a scroll area and have the area resize to use the space freeded up by the scrollbar.

    I can set the max and min size of the scrollbar in code to shrink it, but there is empty space next to it. It is the same total space as there was before.

    Can this be done in code, or is it something that could better be done in the .ui file? This scrollbar would always need to be very thin.

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