Search Issue Tracker

Fixed in 1.0.0-preview.8

Votes

0

Found in [Package]

0.11.0-preview

Issue ID

1245278

Regression

No

UI Builder Toolbar Elements get aligned vertically instead of horizontally when Toolbar is not saved to UXML file

Package: UI Builder

-

How to reproduce:
1. Create a new project
2. Import the UI Builder from the Package Manager
3. Open the UI Builder window (Window -> UI -> UI Builder)
4. In the UI Builder Hierarchy add a Toolbar
5. Add a few Elements (ToolbarMenu, ToolbarSpacer, ToolbarToggle, ToolbarButton) as child of Toolbar

Expected result: the Elements added in step 5 are aligned vertically
Actual result: the Elements are aligned horizontally

Reproducible with: 0.10.1-preview (2019.3.14f1), 0.10.2-preview (2019.3.14f1), 0.11.0-preview (2019.3.14f1, 2020.1.0b9, 2020.2.0a11)
Could not test with: 0.10.0-preview and below (2019.3.14f1) (Toolbar not introduced)

Workaround:
Saving the UXML file anytime after adding the Toolbar Element fixes the 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.