Download project
This example shows how to set the text position of buttons with embedded images via visualization styles.
The text position of buttons can be changed via the visualization style Style15.visustyle.xml (see Style.zip).
Style15.visustyle.xml
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>