Summary

This block is used to set a widget layout. The SetSlotInWidget can be tricky when it's about setting a widget layout and especially only the position. The Layout is made of 4 parts: x,y, width and height. This block is specially designed to update only a part of a layout.

 

Implementation

 

Example

In this example we added before the following block a widget to a synoptic and created an artifact called {equipment}. We use the SetWidgetLayout block to position the widget without changing its width or height. The position is defined in a tag called b:position which is in the origin.


Properties


Behavior: DO

The layout of the widget is updated.

 

Behavior: UNDO

The layout of the widget is unchanged (the system doesn't keep a trace of the old value).