hi, if anyone can help me implement zooming in and out in the scroll view would be nice
ty
This is tricky, since the individual nodes will still be the same size regardless of your scroll (short of creating new styles for each element and changing font/spacing for these styles as the zoom goes in and out).
Things I believe would be required (I haven’t tried this, and probably won’t have the spare time to attempt it any time soon)…
- Styles for each element type that change font size, width, height to scale
- Recalculating Rect width and height based on evaluating content and scaling
- Recalculating node locations based on scale
- Recalculating curve start,end points based on scale.
- Adjusting scroll position based on scale.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.