Greetings,
this is my first module (Vision components) so very much still learning. However I have worked out most of everything I need except for resizing and repositioning things in the designer.
What I am trying to do is have a component when dragged into designer, position itself to absolute location in window, and also modify size and position of other already placed components, as well as set overall window size.
I can force the component to shift eg with an overridden setBounds to set desired absolute position including super.setBounds to percolate modified dimension downstream it works but then the designer marquee does not match the object anymore. Furthermore if you in the designer use jython to try and move an object eg with obj.setBounds(…) it moves and then jumps back to original position.
When you use the designer “set position and size” and set Vision.layout diag to Trace you see two events setBounds and SetPreferredBounds. What is “SetPreferredBounds”. It shows up nowhere in the docs.
Somehow I am missing something obvious.
Having the SDK is great, but the docs and examples are a little sparse to really get anywhere without a lot of “fighting the beast”. Is there anywhere on your site where users can annotate the API docs with their findings?. I could not even find the API docs on the website…I am using an older downloaded API to get at the javadoc simply.