Actual width of checkbox element

Daniel Nicoletti dantti12 at gmail.com
Thu Aug 15 15:11:43 UTC 2013


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 <kde at privat.broulik.de>:
> 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?
>
> Best,
> Kai Uwe
>
> [1] https://bugs.kde.org/show_bug.cgi?id=323530
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel



-- 
Daniel Nicoletti

KDE Developer - http://dantti.wordpress.com


More information about the Plasma-devel mailing list