Create Large Object Field at UI Builder

Hi! Is there any way to create a Object Field where I can preview the selected asset as we did with EditorGUILayout.ObjectField passing typeof(Sprite)? Like in the image bellow.


Or do I need to create it by code and can’t do this using the editor?

The best I could do here was to use an object field and setting a visual element background by code. Just scaling the object field doesn’t do the trick.

8737410--1183131--upload_2023-1-17_16-53-13.png8737410--1183134--upload_2023-1-17_16-54-41.png

Hello! Right now there is no way to have a large object field. We are aware of this problem and it should be addressed soon. We are actively working on bringing parity between IMGUI and UI Toolkit :slight_smile:

1 Like

Could you share the USS? I can not figure out how to write the uss to do this :smile:

Was this ever addressed? I find this feature to be key for making UI Builder designer-friendly.