Skip to content

Commit

Permalink
fix: horizontal scrollbars are not correctly aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasoares authored Jan 18, 2025
1 parent fa0e6f2 commit cc098c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions data/styles/10-scrollbars.otui
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ VerticalQtScrollBar < UIScrollBar
HorizontalScrollBarQtSlider < UIButton
id: sliderButton
anchors.centerIn: parent
margin-top: 1
size: 44 12
image-source: /images/ui/scrollbar_new_horizontal
image-clip: 34 22 44 12
Expand All @@ -168,7 +167,7 @@ HorizontalQtScrollBar < UIScrollBar

UIButton
id: decrementButton
anchors.top: parent.top
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
image-source: /images/ui/scrollbar_new_horizontal
image-clip: 42 10 12 12
Expand All @@ -178,7 +177,7 @@ HorizontalQtScrollBar < UIScrollBar

UIButton
id: incrementButton
anchors.top: parent.top
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
size: 12 12
image-source: /images/ui/scrollbar_new_horizontal
Expand Down
1 change: 1 addition & 0 deletions modules/client_options/options.otui
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ OptionScaleScrollMarked < Label
id: valueBar
step: 1
anchors.right: toolTipWidget.left
anchors.verticalCenter: toolTipWidget.verticalCenter
margin-right: 10
width: 174
@onValueChange: |
Expand Down

0 comments on commit cc098c9

Please sign in to comment.