on xenial help sign in
Add anchors and ellipsis in labels.
commit49c04dac19e55a8fd551b152bec07fb9f0afaddd authorMichał Sawicz <michal.sawicz@canonical.com> dateThu 14 Aug 2014, 19:09 (12 years ago) parentebd8488
1 file changed+3
qml/Dash/DashNavigationButton.qml+3
qml/Dash/DashNavigationButton.qml+3
@@ -56,9 +56,12 @@ AbstractButton {
5656 Label {
5757 anchors.fill: parent
5858 anchors.margins: units.gu(2)
59+ anchors.rightMargin: units.gu(5)
5960 verticalAlignment: Text.AlignVCenter
6061 text: root.currentNavigation ? root.currentNavigation.label : ""
6162 color: root.foregroundColor
63+ elide: Text.ElideRight
64+ maximumLineCount: 1
6265 }
6366
6467 Icon {