I have the following setup:
TopPanel
-DraggablePanel
-Grid
-Button 1
-Button 2
...
This is for a menu that changes, so I remove items from the Grid and add items to the Grid dynamically.
The DraggablePanel is set up with soft clipping, scrolling in the vertical/Y direction only, Restrict Within Panel, and Disable Drag if Fits.
When the program runs and items are added to the Grid, the DraggablePanel has an unwanted change in the clipping center X coordinate. The Y coordinate moves as it should, with the scrolling feature, but the X coordinate change makes the menu unusable. I would like to simply reset the clipping center X to zero but I don't see a function to do that. Even better, I would like to identify the cause rather than treating the symptom.
Any ideas?