12-23-2021, 12:58 AM
Hi, I have several scene view elements, like uContextPro.
When Curvy draws the UI, it frequently is in undesirable locations. I'd like some changes added to the project to remedy this issue. From my very limited testing, something like this could work.
In DTToolbar > getInitialItemRect()
the switch statement
Left
r.x = 5 + xValue; r.y = 10 + yValue;
Right
SceneView.position.width - 10 - _MaxItemDimension[side].x - xValue;
r.y = 15 + yValue;
Top
r.x = 10 + xValue; r.y = 10 + yValue;
Bottom
r.x = 10 + xValue; r.y = SceneView.position.height - _MaxItemDimension[side].y - 30 - yValue;
Add the named xValue & yValue to CurvyGlobalManager and CurvyProject.cs to set them in Preferences.
Even simple [Range(0,75)] sliders with a default value of 0 would work great here.
When Curvy draws the UI, it frequently is in undesirable locations. I'd like some changes added to the project to remedy this issue. From my very limited testing, something like this could work.
In DTToolbar > getInitialItemRect()
the switch statement
Left
r.x = 5 + xValue; r.y = 10 + yValue;
Right
SceneView.position.width - 10 - _MaxItemDimension[side].x - xValue;
r.y = 15 + yValue;
Top
r.x = 10 + xValue; r.y = 10 + yValue;
Bottom
r.x = 10 + xValue; r.y = SceneView.position.height - _MaxItemDimension[side].y - 30 - yValue;
Add the named xValue & yValue to CurvyGlobalManager and CurvyProject.cs to set them in Preferences.
Even simple [Range(0,75)] sliders with a default value of 0 would work great here.