Skip to content

[Scrollable] Add padding field for Scrollbar#3295

Open
git-f0x wants to merge 1 commit intoiced-rs:masterfrom
git-f0x:master
Open

[Scrollable] Add padding field for Scrollbar#3295
git-f0x wants to merge 1 commit intoiced-rs:masterfrom
git-f0x:master

Conversation

@git-f0x
Copy link
Copy Markdown

@git-f0x git-f0x commented Mar 30, 2026

This allows e.g. for the Scrollbar to be shorter than the scrollable.
Useful when wanting content to extend to the edge of the window, but not the scrollbar itself.
image
Example of how it's used in COSMIC.

Should the width field be renamed to girth, similar to progress_bar? It can be a bit confusing since the scrollbar can be horizontal.

This allows e.g. for the Scrollbar to be shorter than the scrollable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant