horizontalTextPosition

Hi All,
What’s the script property int value for horizontalTextPosition?
Thanks.

Stefano

Put this script in the propertyChange event of your component and watch the output console for the results in preview mode as you change the property in the designer. That will allow you to see the integer value for each state.

if event.propertyName == "horizontalTextPosition": print event.newValue

They are Java Swing constants: LEFT, CENTER, RIGHT, LEADING, TRAILING
You can find the numerical values here: https://docs.oracle.com/javase/7/docs/api/constant-values.html#javax.swing.SwingConstants.BOTTOM