Merge branch 'Plasma/5.2'

wilder-5.14
Kai Uwe Broulik 11 years ago
commit 0cc91e9c9e
  1. 2
      applets/batterymonitor/package/contents/ui/BatteryItem.qml

@ -52,6 +52,8 @@ Item {
PlasmaComponents.Label {
id: detailsLabel
width: modelData.value ? parent.width - detailsLayout.leftColumnWidth - units.smallSpacing : detailsLayout.leftColumnWidth + units.smallSpacing
elide: Text.ElideRight
wrapMode: Text.NoWrap
onPaintedWidthChanged: { // horrible HACK to get a column layout
if (paintedWidth > detailsLayout.leftColumnWidth) {
detailsLayout.leftColumnWidth = paintedWidth

Loading…
Cancel
Save