controlcenter: truncating interface names if too long
This commit is contained in:
parent
e613ab81cc
commit
bcb2bd494a
2 changed files with 4 additions and 0 deletions
|
|
@ -122,6 +122,8 @@ ColumnLayout {
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
elide: Text.ElideRight
|
||||||
|
maximumLineCount: 1
|
||||||
|
|
||||||
text: modelData.interface || qsTr("Unknown")
|
text: modelData.interface || qsTr("Unknown")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,8 @@ ColumnLayout {
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
elide: Text.ElideRight
|
||||||
|
maximumLineCount: 1
|
||||||
|
|
||||||
text: modelData.ssid || qsTr("Unknown")
|
text: modelData.ssid || qsTr("Unknown")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue