Fit Grid elements in Item

Sebastian Kügler sebas at kde.org
Mon Sep 24 18:56:06 UTC 2012


On Monday, September 24, 2012 14:14:39 David Edmundson wrote:
> To clarify, by change I meant to consider adding a
> minimumWidth/minimumHeight property, not removing the current
> implicitWidth
> 
> It's impossible for a user of the component to do this accurately
> because it needs both the label size, and the size of the surface
> margins which are both internal.

The label size can be reasonably guessed (it's a label and you know the text, 
but otherwise, you're right.

> I didn't want to say that explicitly because I'm far from the biggest
> QML expert here, and there may well be a better way to accomplish the
> same goal.
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list