Skip to content

Commit

Permalink
plugin: width tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
catsout committed Oct 27, 2021
1 parent c83a54a commit d1822fe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugin/contents/ui/config.qml
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ ColumnLayout {
}
RowLayout {
Kirigami.FormData.label: "Fps:"
Layout.maximumWidth: parent.lwidth
Layout.preferredWidth: displayMode.width
Label {
Layout.preferredWidth: font.pixelSize * 2
text: sliderFps.value.toString()
Expand All @@ -438,7 +438,7 @@ ColumnLayout {
}
Slider {
id: sliderFps
Layout.preferredWidth: displayMode.width * 0.9
Layout.fillWidth: true
from: 5
to: 60
stepSize: 1.0
Expand All @@ -448,13 +448,14 @@ ColumnLayout {
RowLayout {
Kirigami.FormData.label: "Volume:"
visible: !cfg_MuteAudio
Layout.preferredWidth: displayMode.width
Label {
Layout.preferredWidth: font.pixelSize * 2
text: sliderVol.value.toString()
}
Slider {
id: sliderVol
Layout.preferredWidth: displayMode.width * 0.9
Layout.fillWidth: true
from: 0
to: 100
stepSize: 5.0
Expand Down

0 comments on commit d1822fe

Please sign in to comment.