Skip to content

Commit

Permalink
QML: Use anchors.fill in Slider Compomnent
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed May 29, 2021
1 parent 4edb4a1 commit 37b45a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/skins/QMLDemo/Mixxx/Controls/Slider.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Item {
Slider {
id: slider

width: root.width
height: root.height
anchors.fill: parent
orientation: Qt.Vertical
wheelEnabled: true
value: control.parameter
Expand All @@ -43,6 +42,7 @@ Item {

Item {
id: background
anchors.fill: parent
}

Shape {
Expand Down

0 comments on commit 37b45a9

Please sign in to comment.