Re: Actual width of checkbox element

2013-08-15 Thread Kai Uwe Broulik
Am Donnerstag, 15. August 2013, 22:04:54 schrieb Marco Martin: > On Thursday 15 August 2013, Kai Uwe Broulik wrote: > > > patches welcome ;) > > > > Hmm, when I try to manually set the implicitWidth or route it > > somewhereelse > > it says "implicitWidth not available in QtQuick Item 1.0" (or so)

Re: Actual width of checkbox element

2013-08-15 Thread Marco Martin
On Thursday 15 August 2013, Kai Uwe Broulik wrote: > > patches welcome ;) > > Hmm, when I try to manually set the implicitWidth or route it somewhereelse > it says "implicitWidth not available in QtQuick Item 1.0" (or so). implicitWidth is available only since 1.1, so across the component the imp

Re: Actual width of checkbox element

2013-08-15 Thread Kai Uwe Broulik
> patches welcome ;) Hmm, when I try to manually set the implicitWidth or route it somewhereelse it says "implicitWidth not available in QtQuick Item 1.0" (or so). ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo

Re: Actual width of checkbox element

2013-08-15 Thread Marco Martin
On Thursday 15 August 2013, Kai Uwe Broulik wrote: > Hi, > > > its implicitWidth should return a proper value (if it doesn't means the > > component should be fixed ;) > > implicitWidth seems to return 0 for the checkbox item. then needs to be fixed... patches welcome ;) -- Marco Martin _

Re: Actual width of checkbox element

2013-08-15 Thread Kai Uwe Broulik
Hi, > its implicitWidth should return a proper value (if it doesn't means the > component should be fixed ;) implicitWidth seems to return 0 for the checkbox item. (If I could've just kept the switch … :P) ___ Plasma-devel mailing list Plasma-devel@

Re: Actual width of checkbox element

2013-08-15 Thread Marco Martin
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: Ma

Re: Actual width of checkbox element

2013-08-15 Thread Daniel Nicoletti
This is the reason in Apper updater the checkbox doesn't use the text property, instead I have a checkbox with no text and a Text element next to it and eliding right. I don't think you can do it other way as there is no other properties exposed, but I might be wrong... 2013/8/15 Kai Uwe Broulik

Actual width of checkbox element

2013-08-15 Thread Kai Uwe Broulik
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 us