Script -> Widget (width/height)

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Bingwu
Posts: 114
Joined: 26 Feb 2016 10:26

Script -> Widget (width/height)

Post by Bingwu » 03 Apr 2017 08:50

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Script -> Widget (width/height)

Post by Martin » 04 Apr 2017 15:11

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

User avatar
Bingwu
Posts: 114
Joined: 26 Feb 2016 10:26

Re: Script -> Widget (width/height)

Post by Bingwu » 05 Apr 2017 12:42

Hello Martin!

Thank you for the information!

Greetings to Switzerland
Peter

Post Reply