You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release Type: Official Release/GitHub (please choose appropriate option)
Official Release
Version: Version number and/or git branch
Stride Game Studio 4.2.0.2149
.NET 8.0.2
Platform(s): Does the problem occur on Windows, Android...?
Windows 10
Describe the bug
In the UI Editor using a UILibrary the StackPanel's visual tree order does not control the order the UI elements are displayed in the UI visual editor.
To Reproduce
Steps to reproduce the behavior:
Create a new StackPanel in a UILibrary, no setting changes required
Drag two TextBlocks onto the StackPanel in the Visual Tree
Change the text of the TextBlocks to distinct values, like "1" and "2"
In the Visual Tree drag the first TextBlock above the second TextBlock
At this point the first TextBlock in the Visual Tree will be the second value in the preview window.
The work around for this is to use the Visual Tree to select and drag all elements out of the StackPanel and then drag and drop all elements back into the StackPanel
Expected behavior
The UI elements in the Visual Tree get drawn to visual UI editor in the same order that a StackPanel would display it's children elements
Screenshots
Here is the end result of the Reproduced steps
Log and callstacks
N/A
Additional context
This was done an an existing project, have not tried it on a new project. I have tested in a new UILibrary.
The text was updated successfully, but these errors were encountered:
Release Type: Official Release/GitHub (please choose appropriate option)
Official Release
Version: Version number and/or git branch
Stride Game Studio 4.2.0.2149
.NET 8.0.2
Platform(s): Does the problem occur on Windows, Android...?
Windows 10
Describe the bug
In the UI Editor using a UILibrary the StackPanel's visual tree order does not control the order the UI elements are displayed in the UI visual editor.
To Reproduce
Steps to reproduce the behavior:
StackPanel
in aUILibrary
, no setting changes requiredTextBlock
s onto theStackPanel
in the Visual TreeTextBlock
s to distinct values, like "1" and "2"TextBlock
above the secondTextBlock
At this point the first TextBlock in the Visual Tree will be the second value in the preview window.
The work around for this is to use the Visual Tree to select and drag all elements out of the StackPanel and then drag and drop all elements back into the
StackPanel
Expected behavior
The UI elements in the Visual Tree get drawn to visual UI editor in the same order that a StackPanel would display it's children elements
Screenshots
![image](https://private-user-images.githubusercontent.com/2864849/339021488-b50d7d72-dfc2-49d5-b31d-305e91ecb288.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1OTgyMjksIm5iZiI6MTcxOTU5NzkyOSwicGF0aCI6Ii8yODY0ODQ5LzMzOTAyMTQ4OC1iNTBkN2Q3Mi1kZmMyLTQ5ZDUtYjMxZC0zMDVlOTFlY2IyODgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjhUMTgwNTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTMzMTNiYmVhZTEwZTBjZmYwYjNjNzMzZGQ1MGI4MmEzYWJjN2Y3MGQ0MzEwMDQ0ZDliZGRjZjJmNmMzMmNhMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.vZZMsXK7WpqwrhBhKUj5YcePzTZ2PqXGgshtyMs0lOk)
Here is the end result of the Reproduced steps
Log and callstacks
N/A
Additional context
This was done an an existing project, have not tried it on a new project. I have tested in a new UILibrary.
The text was updated successfully, but these errors were encountered: