Review Request: Merge the final and fixed QML battery monitor to master.

Marco Martin notmart at gmail.com
Tue Mar 20 21:56:18 UTC 2012


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


More information about the Plasma-devel mailing list