Commit 8c3823ff authored by Nate Graham's avatar Nate Graham
Browse files

[kcm] Limit maximum device combobox length

Otherwise with really long display names, it can blow up the layout.

BUG: 432249
FIXED-IN: 5.21
(cherry picked from commit 0a604174)
parent 62f55140
...@@ -28,6 +28,7 @@ ColumnLayout { ...@@ -28,6 +28,7 @@ ColumnLayout {
Controls.ComboBox { Controls.ComboBox {
Kirigami.FormData.label: i18n("Device:") Kirigami.FormData.label: i18n("Device:")
Layout.maximumWidth: Kirigami.Units.gridUnit * 16
model: kcm.outputModel model: kcm.outputModel
textRole: "display" textRole: "display"
currentIndex: root.selectedOutput currentIndex: root.selectedOutput
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment