Home

mlamp
There is a newer version of this page. You can find it here.

Download project

Button Visu Style Example

This example shows how to set the text position of buttons with embedded images via visualization styles.

More information

The text position of buttons can be changed via the visualization style Style15.visustyle.xml (see Style.zip).

The positions are defined by the parameters:

<Value name="Button-Absolut-TextOffset-Left" type="DINT">40</Value>

<Value name="Button-Absolut-TextOffset-Right" type="DINT">0</Value>

<Value name="Button-Absolut-TextOffset-Top" type="DINT">40</Value>

<Value name="Button-Absolut-TextOffset-Bottom" type="DINT">0</Value>

Screenshot thumbnail
Screenshot of Visualization