Search Issue Tracker

Fixed in 1.0.0.preview-6

Votes

0

Found in [Package]

1.0.0-preview.3

Issue ID

1261447

Regression

No

Runtime stretches image with fixed width/height to full screen

Package: UI Toolkit

-

Repro Steps
Create a UXML file where the root has a width and height of 100%
Add a child width a width of 128x128, and assign a background-image to it.
Add a UI Document to the scene.
Assign PanelSettings and the UXML.

Expected result: the image should take a small portion of the screen.
Actual result: the image is stretched full-screen.

Unity version: Unity 2020.1.0b12.3931
Package version: 1.0.0-preview.3
Forum thread: https://forum.unity.com/threads/ui-toolkit-not-in-package-manger.916391/#post-6065354

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.