Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Atom search is rendering with strange padding and red text #406

Open
rhys-vdw opened this issue Jul 6, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@rhys-vdw
Copy link

rhys-vdw commented Jul 6, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open atom search

Expected behavior

Text should be themed with editor default. Padding seems too large on the first page of options.

Screenshots

image
image

Environment

  • OS: Windows Editor
  • Unity Version: 2022.2.7
  • Version of Unity Atoms: 4.4.5

Additional context

It looked correct before (like a normal Unity menu). I have no idea what changed. Perhaps a recent Odin Inspector update, but I am really not sure.

I also got these warning:

Unable to find style 'DD ItemStyle' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)

Unable to find style 'DD HeaderStyle' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)

Unable to find style 'DD ItemCheckmark' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)

Unable to find style 'DefaultLineSeparator' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)

Unable to find style 'ArrowNavigationRight' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)

Unable to find style 'ArrowNavigationLeft' in skin 'GameSkin' <called outside OnGUI>
UnityEditor.IMGUI.Controls.AdvancedDropdown:Show (UnityEngine.Rect)
UnityAtoms.Editor.AtomsSearchableAssetCreationMenu:AtomsSearchMenu () (at ./Library/PackageCache/com.unity-atoms.unity-atoms-base-atoms@4.4.5/Editor/AtomsSearchableAssetCreationMenu.cs:66)
@rhys-vdw rhys-vdw added the bug Something isn't working label Jul 6, 2023
@soraphis
Copy link
Collaborator

soraphis commented Jul 7, 2023

Hm, maybe unity is removing some guiskins now that they adapt more and more to ui toolkit...

Need to take a look into the code, but i think this might be a unity issue and those skins are referenced from the AdvancedDropDownMenu itself...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants