Fixed layout issues in Unity 6, where height was not set to 22px on parent VisualElement
This commit is contained in:
parent
70e110496e
commit
2a354e7da5
4 changed files with 29 additions and 4 deletions
|
|
@ -72,7 +72,10 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
{
|
||||
style = {
|
||||
flexGrow = 1,
|
||||
flexDirection = FlexDirection.Row
|
||||
flexDirection = FlexDirection.Row,
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
height = 22f
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -89,7 +92,10 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
{
|
||||
style = {
|
||||
flexGrow = 1,
|
||||
flexDirection = FlexDirection.RowReverse
|
||||
flexDirection = FlexDirection.RowReverse,
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
height = 22f
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue