@@ -272,7 +272,7 @@ FocusScope {
273 model: sortProxyModel
273 model: sortProxyModel
275− delegateWidth: units.gu(8)
275+ delegateWidth: units.gu(10)
276 delegateHeight: units.gu(10)
276 delegateHeight: units.gu(10)
277 delegate: drawerDelegateComponent
277 delegate: drawerDelegateComponent
@@ -332,7 +332,7 @@ FocusScope {
332 filterLetter: model.letter
332 filterLetter: model.letter
333 dynamicSortFilter: false
333 dynamicSortFilter: false
335− delegateWidth: units.gu(8)
335+ delegateWidth: units.gu(10)
336 delegateHeight: units.gu(10)
336 delegateHeight: units.gu(10)
337 delegate: drawerDelegateComponent
337 delegate: drawerDelegateComponent
@@ -352,6 +352,7 @@ FocusScope {
352 readonly property bool focused: index === GridView.view.currentIndex && GridView.view.activeFocus
352 readonly property bool focused: index === GridView.view.currentIndex && GridView.view.activeFocus
354 onClicked: root.applicationSelected(model.appId)
354 onClicked: root.applicationSelected(model.appId)
355+ z: loader.active ? 1 : 0
357 width: units.gu(8)
358 width: units.gu(8)
@@ -384,11 +385,46 @@ FocusScope {
387 text: model.name
389 text: model.name
388 width: parent.width
390 width: parent.width
389 horizontalAlignment: Text.AlignHCenter
391 horizontalAlignment: Text.AlignHCenter
390 fontSize: "small"
392 fontSize: "small"
391 elide: Text.ElideRight
393 elide: Text.ElideRight
400+ aux = label.width / 2 - item.width / 2;
401+ var containerXMap = mapToItem(contentContainer, aux, 0).x
402+ if (containerXMap < 0) {
403+ aux = aux - containerXMap;
406+ if (containerXMap + item.width > contentContainer.width) {
407+ aux = aux - (containerXMap + item.width - contentContainer.width);
413+ active: label.truncated && drawerDelegate.hovered
414+ sourceComponent: Rectangle {
415+ color: UbuntuColors.jet
416+ width: fullLabel.width + units.gu(1)
417+ height: fullLabel.height + units.gu(1)
418+ border.color: UbuntuColors.blue
422+ anchors.centerIn: parent