Re: QML plasmoid maintains aspect ratio

2011-08-22 Thread Aaron J. Seigo
On Monday, August 22, 2011 18:21:01 Shaun Reich wrote: > 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? the property is in: kde-runtime/plasma/scriptengines/javascript/plasmoid/appletinter

Re: QML plasmoid maintains aspect ratio

2011-08-22 Thread Shaun Reich
>> 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 se

Re: QML plasmoid maintains aspect ratio

2011-08-22 Thread Marco Martin
On Monday 22 August 2011, Shaun Reich wrote: > 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 se

QML plasmoid maintains aspect ratio

2011-08-22 Thread Shaun Reich
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