Page 1 of 1

Script -> Widget (width/height)

Posted: 03 Apr 2017 08:50
by Bingwu
Hello Widget-Experts!

A question from a widget novice.
... In the meantime, I already know that the function setWidgetElementProperty controls all element components. This is incredibly useful, but I have a question then:
Is it also possible to change the widget size (width/height) per script?

On 22 May 2013, Martin answered the question (http://automagic4android.com/forum/view ... f=5&t=2034):
Martin wrote:Hi,

The width and height of the widget and the clickable actions can not be changed from a script. [...]
Is that still so? :(

regards
Peter

Re: Script -> Widget (width/height)

Posted: 04 Apr 2017 15:11
by Martin
Hi,

Yes, that's still the case for the widget.
The size (and all other properties of the widget itself like image quality, auto-refresh and clickable actions) can not be controlled from a script yet.

I've just added this feature to the list of features under consideration.

Regards,
Martin

Re: Script -> Widget (width/height)

Posted: 05 Apr 2017 12:42
by Bingwu
Hello Martin!

Thank you for the information!

Greetings to Switzerland
Peter