on xenial help sign in
elide the window title not to let it overflow into the indicators area
432c0c2Lukáš Tinkl
qml/Panel/Panel.qml+3
@@ -169,6 +169,7 @@ Item {
169 objectName: "windowDecorationTitle"
169 objectName: "windowDecorationTitle"
170 anchors {
170 anchors {
171 left: parent.left
171 left: parent.left
172+ right: __indicators.left
172 top: parent.top
173 top: parent.top
173 leftMargin: units.gu(1)
174 leftMargin: units.gu(1)
174 topMargin: units.gu(0.5)
175 topMargin: units.gu(0.5)
@@ -181,6 +182,8 @@ Item {
181 fontSize: "medium"
182 fontSize: "medium"
182 font.weight: Font.Normal
183 font.weight: Font.Normal
183 text: PanelState.title
184 text: PanelState.title
185+ elide: Text.ElideRight
186+ maximumLineCount: 1
184 }
187 }
185
188
186 // TODO here would the Locally integrated menus come
189 // TODO here would the Locally integrated menus come