QML plasmoid maintains aspect ratio
Shaun Reich
shaun.reich at kdemail.net
Mon Aug 22 22:21:01 UTC 2011
>> Or is there a different way to do what I want (free form resizing), as
>> opposed to doing Component.onCompleted: {
>> setAspectRatioMode(IgnoreAspectRatio) } or something?
>
> /me points to
>
> http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-
> PlasmoidObject
Weird. This seems like it's magically working, because I don't see any
Q_PROPERTY or Q_DECLARE anywhere pertaining to aspectratiomode. Care
to explain?
--
Shaun Reich,
KDE Software Developer (kde.org)
More information about the Plasma-devel
mailing list