Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.40f1

2022.3.38f1

6000.0.10f1

6000.1.0a7

6000.2.0a1

6000.3.0a1

6000.4.0a1

6000.5.0a1

Issue ID

UUM-76432

Regression

No

UI Toolkit element row margins are scaled inconsistently when UI Scaling is bigger than the default

UI Toolkit Framework

-

How to reproduce:
1. Open the “FlexWarpScalingBug.zip“ project
2. Click “Test/Test“ in the Toolbar to open a “MyEditorWindow“ Window
3. Change the UI Scaling in Preferences (through desktop settings or custom value) to a bigger value (from the default option to 1-2 options higher)
4. Observe the “MyEditorWindow“ Window

Expected result: All colored boxes fit into the black-bordered box
Actual result: The last colored box does not fit and goes down by one row

Reproducible in: 2021.3.40f1, 2022.3.38f1, 6000.0.10f1

Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: MacOS 14.4.1 (M2) (No UI Scaling), No other environment tested

Notes:
- To expand on 3rd step: if your default UI Scaling is 100%, you should change to 125% scaling. Similarly, if your scaling is 250%, you should change to 350%, downscaling causes no issue
- Does not seem to reproduce when the bordered box’s “style.flexWrap” enum is set to “NoWrap”
- Changing the colored box’s margins to an even number (2, 4, 6, 8, etc.) will fix the issue
- In version 6000.0.10f1, the second row colored box is not encapsulated by the bordered box

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

  2. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.