I’m trying to bind Horizontal Alignment on a button to a template parameter, it’s an int… I’ve tried 0-5 and get
Error setting property to '1' for binding on
button.button.Button.horizontalAlignment
at com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter.updateTarget(AbstractPropertyAdapter.java:327)
Caused by: java.lang.IllegalArgumentException: horizontalAlignment
at javax.swing.AbstractButton.checkHorizontalKey(Unknown Source)
at javax.swing.AbstractButton.setHorizontalAlignment(Unknown Source)
What’s the trick?