diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-15 16:19:16 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-15 16:19:16 -0600 |
commit | a855b61ace6572e19c305cdee7bd080c5f89eb51 (patch) | |
tree | 634f006618942df952b5337de8c722bc46669f9c | |
parent | 0e34fa912174733c958f5795c6113342c17c9780 (diff) | |
download | kube-a855b61ace6572e19c305cdee7bd080c5f89eb51.tar.gz kube-a855b61ace6572e19c305cdee7bd080c5f89eb51.zip |
Elide the text in the status bar.
Otherwise it just runs over the status bar.
-rw-r--r-- | framework/qml/StatusBar.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/qml/StatusBar.qml b/framework/qml/StatusBar.qml index bc98843c..6a148fbb 100644 --- a/framework/qml/StatusBar.qml +++ b/framework/qml/StatusBar.qml | |||
@@ -70,9 +70,12 @@ Item { | |||
70 | Kube.Label { | 70 | Kube.Label { |
71 | id: descriptionText | 71 | id: descriptionText |
72 | anchors.horizontalCenter: parent.horizontalCenter | 72 | anchors.horizontalCenter: parent.horizontalCenter |
73 | width: parent.width | ||
73 | visible: false | 74 | visible: false |
74 | color: Kube.Colors.disabledTextColor | 75 | color: Kube.Colors.disabledTextColor |
75 | text: root.errorText | 76 | text: root.errorText |
77 | elide: Text.ElideRight | ||
78 | maximumLineCount: 1 | ||
76 | } | 79 | } |
77 | Kube.ProgressBar { | 80 | Kube.ProgressBar { |
78 | id: progressBar | 81 | id: progressBar |