Make relX & relY positions bindable on all components
closed
W
WAnderson
This would make it much easier to construct dynamic templates where components moved based on template parameters set in designer.
system.gui.moveComponent allows moving any component, but is more complex than simple bindings. First, you've got to script, then you must attach the script to an appropriate event trigger--easy in the case of bound template parameters (trigger the script on propertyChange of that parameter), but a bit more of a pain if the template parameter is simply set in the designer, rather than changed at run-time. In short, it can be done, but is not as elegant or easy as if relX and relY were bindable.
Log In
pscott
closed
This is a great idea, but unfortunately we're going to close it. The amount of effort involved with reworking the Vision component system to support this idea is massive compared to the gain it would provide.
For what it's worth, Perspective does offer this functionality. Vision project can take advantage of similar functionality with the Template Canvas component, although we understand it isn't ideal to wrap up all of your components in templates.
W
WAnderson
pscott: Thanks. I agree it makes sense to focus more effort on Perspective at this point.
awalker
under review
R
Richard Lee
I would like to see all components (not just basic shapes) have all the Position properties, and have them bindable. (X, Y, Width, Height, Angle)
D
Dylan Fink
Richard Lee: I wish this was the case. It would be to easy to make dynamic templates