QML plasmoid maintains aspect ratio
Shaun Reich
shaun.reich at kdemail.net
Mon Aug 22 20:33:49 UTC 2011
My applet is maintaining aspect ratio despite what I want, so for
example I have a plasmoid which is a listview...
It often doesn't make sense for it to scale with proportions (because
it results in a ton of wasted space).
I've noticed setAspectRatioMode in applet.h, plasma.h. This is not
exposed to javascript/qml, should I make it so?
Or is there a different way to do what I want (free form resizing), as
opposed to doing Component.onCompleted: {
setAspectRatioMode(IgnoreAspectRatio) } or something?
--
Shaun Reich,
KDE Software Developer (kde.org)
More information about the Plasma-devel
mailing list