In a project I have a few dozen small groups. Each group contains one field and one button. They are all similarly constructed, with the field on top of the button. A process selects certain groups in a certain order, and places them side by side in a line. I use the left and right properties of each group to locate the position of its upcoming adjacent neighbor This works just fine, sort of.
The groups keep changing their rects, invariably growing larger after many such operations. This ruins the result, with the groups spreading out along the line since their "size" properties keep changing. I have a tool that sets custom properties for the desired rect and loc of each group. Running that works fine, but after a few actual lineups, the rects change. How that is possible is the mystery. Why they ignore their rect-setting custom property is another.
I just tried setting the lockLoc and clipsToRect properties of each group. Will see if that makes a difference, though I cannot imagine how it should.
Craig
The groups keep changing their rects, invariably growing larger after many such operations. This ruins the result, with the groups spreading out along the line since their "size" properties keep changing. I have a tool that sets custom properties for the desired rect and loc of each group. Running that works fine, but after a few actual lineups, the rects change. How that is possible is the mystery. Why they ignore their rect-setting custom property is another.
I just tried setting the lockLoc and clipsToRect properties of each group. Will see if that makes a difference, though I cannot imagine how it should.
Craig
Statistics: Posted by dunbarx — Fri Dec 20, 2024 6:31 pm