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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user