[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: QML plasmoid maintains aspect ratio
From: Marco Martin <notmart () gmail ! com>
Date: 2011-08-22 21:29:50
Message-ID: 201108222329.50461.notmart () gmail ! com
[Download RAW message or body]
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 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?
/me points to
http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-
PlasmoidObject
--
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic