Skip to content

Commit

Permalink
fix: make scrollbar vertically and horizontally centered (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasoares authored Jan 13, 2025
1 parent aa2022e commit 69352a9
Showing 1 changed file with 4 additions and 4 deletions.
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
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
size: 12 12
image-source: /images/ui/scrollbar_new_vertical
image-clip: 10 24 12 12
Expand Down

0 comments on commit 69352a9

Please sign in to comment.