Asset Shelf: Make display popup more constistent with Asset Browser

- Use property split layout
- Use "Size" instead of "Preview Size" for the label
- Place size option at the top
This commit is contained in:
Julian Eisel
2023-09-15 12:40:19 +02:00
parent 0b8c83d273
commit 213b8325bf
+4 -1
View File
@@ -17,10 +17,13 @@ class ASSETSHELF_PT_display(Panel):
def draw(self, context):
layout = self.layout
layout.use_property_split = True
layout.use_property_decorate = False # No animation.
shelf = context.asset_shelf
layout.prop(shelf, "preview_size", text="Size")
layout.prop(shelf, "show_names", text="Names")
layout.prop(shelf, "preview_size")
@classmethod
def poll(cls, context):