Actual width of checkbox element

Marco Martin notmart at gmail.com
Thu Aug 15 15:13:18 UTC 2013


On Thursday 15 August 2013, Kai Uwe Broulik wrote:
> Hi there,
> 
> I got a bug report [1] about that the popup width might get so small that
> the PM checkbox doesn't fit entirely.
> Is there a way to determin the actual width of the checkbox including its
> label?
> So I could do minimumWidth: Math.max( currentminimumwidth, checkboxwidth)
> Or should I just use a fixed, say, 250px minimum width?

its implicitWidth should return a proper value (if it doesn't means the 
component should be fixed ;)


-- 
Marco Martin


More information about the Plasma-devel mailing list