Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make scrollbar vertically and horizontally centered #1036

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/styles/10-scrollbars.otui
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ VerticalScrollBar < UIScrollBar

UIButton
id: decrementButton
anchors.top: parent.top
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
image-source: /images/ui/scrollbar
image-clip: 0 0 13 13
Expand All @@ -45,7 +45,7 @@ VerticalScrollBar < UIScrollBar

UIButton
id: incrementButton
anchors.bottom: parent.bottom
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
size: 13 13
image-source: /images/ui/scrollbar
Expand Down Expand Up @@ -127,8 +127,8 @@ VerticalQtScrollBar < UIScrollBar

UIButton
id: decrementButton
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.right: parent.right
nekiro marked this conversation as resolved.
Show resolved Hide resolved
image-source: /images/ui/scrollbar_new_vertical
image-clip: 10 0 12 12
size: 12 12
Expand All @@ -137,8 +137,8 @@ VerticalQtScrollBar < UIScrollBar

UIButton
id: incrementButton
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.right: parent.right
nekiro marked this conversation as resolved.
Show resolved Hide resolved
size: 12 12
image-source: /images/ui/scrollbar_new_vertical
image-clip: 10 24 12 12
Expand Down
Loading