Search Issue Tracker

Fixed

Fixed in 6000.0.56f1, 6000.1.16f1, 6000.2.1f1, 6000.3.0a4

Votes

0

Found in

2021.3.54f1

2022.3.65f1

6000.0.54f1

6000.1.14f1

6000.2.0b12

6000.3.0a3

Issue ID

UUM-112721

Regression

No

UI Builder “Fit viewport” button zooms to fit Canvas instead of the selected Element

-

*Steps to reproduce:*
1. Create a project
2. Create UI Document (Create > UI Toolkit > UI Document)
3. Open UI Document
4. Add VisualElement to the Hierarchy
5. Change its size to big number (e.g. 10000)
6. Select VisualElement
7. Press “Fit viewport” button and observe

*Actual results:* Zoom is adjusted to fit Canvas
*Expected results:* Zoom is adjusted to fit selected VisualElement

*Reproducible with versions:* 2021.3.54f1, 2022.3.65f1, 6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3

*Tested on (OS):* macOS Sequoia 15.4 (M4)

*Notes:* “Fit viewport” button tooltip message: “Adjusts the zoom to fit the selected content in the viewport.”

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.