Git commit 22a6be908d6da34019b949b224c90bfeebb1525d by Shaun Reich. Committed on 07/03/2012 at 20:56. Pushed by sreich into branch 'master'. elide the text and valign the text in the item as well M +13 -4 applets/konsoleprofiles/package/contents/ui/konsoleprofiles.= qml http://commits.kde.org/kdeplasma-addons/22a6be908d6da34019b949b224c90bfeebb= 1525d diff --git a/applets/konsoleprofiles/package/contents/ui/konsoleprofiles.qm= l b/applets/konsoleprofiles/package/contents/ui/konsoleprofiles.qml index 65708fa..e500d07 100644 --- a/applets/konsoleprofiles/package/contents/ui/konsoleprofiles.qml +++ b/applets/konsoleprofiles/package/contents/ui/konsoleprofiles.qml @@ -82,7 +82,7 @@ Item { id: textMetric visible: false // translated but not used, we just need length/height - text: i18n("Arbitrary String Which Says The Dictionary Type") + text: i18n("Arbitrary String Which Says Something") } = ListView { @@ -95,13 +95,22 @@ Item { = delegate: Item { id: listdelegate - height: textMetric.paintedHeight * 2 - anchors { left: parent.left; leftMargin: 10; right: parent.rig= ht; } + height: textMetric.paintedHeight * 2 + + anchors { left: parent.left; leftMargin: 10; right: parent.rig= ht; } = PlasmaComponents.Label { id: profileText - anchors.fill: parent + anchors { + verticalCenter: parent.verticalCenter + left: parent.left + right: parent.right + rightMargin: 20 + } + + verticalAlignment: Text.AlignVCenter text: model.prettyName + elide: Text.ElideRight } = MouseArea {