Fix the blank area of the Display page

https://github.com/cutefishos/settings/issues/10
pull/15/head
reionwong 4 years ago
parent 918cc5db50
commit 1283e532f9

@ -61,17 +61,16 @@ ItemPage {
RoundedItem { RoundedItem {
Layout.fillWidth: true Layout.fillWidth: true
visible: brightness.enabled
Label { Label {
text: qsTr("Brightness") text: qsTr("Brightness")
color: FishUI.Theme.disabledTextColor color: FishUI.Theme.disabledTextColor
bottomPadding: FishUI.Units.largeSpacing bottomPadding: FishUI.Units.largeSpacing
visible: brightness.enabled
} }
RowLayout { RowLayout {
spacing: FishUI.Units.largeSpacing spacing: FishUI.Units.largeSpacing
visible: brightness.enabled
Image { Image {
width: brightnessSlider.height width: brightnessSlider.height

Loading…
Cancel
Save