+1
Fast
Cannot use assign to change the height of a panel
The docs indicate that you can use 'assign' to change the value of properties of objects such as panel.
However it does not seem possible to change the height of a panel - in the following example, I would expect tapping the box to resize it:
However it does not seem possible to change the height of a panel - in the following example, I would expect tapping the box to resize it:
<wire>
<main>
<panel name="box" alias="BOX" align="center" valign="center" width="300" height="400" background="#ff0000" onclickup="resize" />
</main>
<actions>
<action name="resize">
<alert message="Trying to set height to 200" />
<assign property="object:BOX.height" value="200" />
</action>
</actions>
</wire>
Kundesupport af UserEcho
The preferred method to achieve what you want is to use the scale action with no time or a time of 0 defined.