On Tuesday 20 March 2012, Viranch Mehta wrote:
> > On March 20, 2012, 10:27 a.m., Sebastian Kügler wrote:
> > > plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml, line
> > > 97
> > > <http://git.reviewboard.kde.org/r/104226/diff/7/?file=53144#file53144l
> > > ine97>
> > > 
> > >     horizontalAlignment: Text.AlignRight
> 
> This doesn't work for some reason (the width of the Label item is same as
> that required by the painted text, not the width of the cell it is in).
> 
> Instead of that, anchors.right: parent.right is used.
> 

horizontalAlignment: Text.AlignRight works only when the label widget is 
larger then the text, so would work if the label was as wide as the whole gap

-- 
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to