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: horizontal scrollbars are not correctly aligned #1053

Merged
merged 4 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
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
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
Loading