I’m seeing an unusual issue with scripting. I have the following script on property change that runs as expected under the designers preview mode but when I launch the project the repeater shrinks into nothingness. The Template Repeater layout is set to Relative during the issue and the issue does not occur when the layout it is set to Anchored. This similarly happens with a Label so it is not limited to the Repeater
system.gui.transform(component=event.source, newWidth=100) print event.source.width
In the projects diagnostics console, the event continually triggers but nothing to tell the repeater to constantly get smaller.
I would appreciate any help that can be offered.
On a side note, I also can’t put the projects diagnostics console into scroll lock mode.
On another side note, the projects diagnostics console also throws an errors if you lead a print statement with str(), such as:
print str(event.source) + "Main Object"
print " " + str(event.source) + "Main Object"
Ignition Platform 7.9.6 OPC-UA Module 4.9.6 Reporting Module 4.9.6 Alarm Notification Module 4.9.6 Vision Module 9.9.6 SQL Bridge Module 8.9.6 Java Version: Oracle Corporation 1.8.0_161