UI: Use heading for File Browser column toggles in popover
authorWilliam Reynish <billrey@me.com>
Tue, 21 Apr 2020 13:13:58 +0000 (15:13 +0200)
committerWilliam Reynish <billrey@me.com>
Tue, 21 Apr 2020 13:13:58 +0000 (15:13 +0200)
release/scripts/startup/bl_ui/space_filebrowser.py

index 3bf5bbf7b465af60c88409f5ea405235da1ed556..53fc812a61935245ee1f3dceb31de78f2de2a95f 100644 (file)
@@ -66,8 +66,9 @@ class FILEBROWSER_PT_display(Panel):
         if params.display_type == 'THUMBNAIL':
             layout.prop(params, "display_size", text="Size")
         else:
-            layout.prop(params, "show_details_size", text="Size")
-            layout.prop(params, "show_details_datetime", text="Date")
+            col = layout.column(heading="Columns", align=True)
+            col.prop(params, "show_details_size", text="Size")
+            col.prop(params, "show_details_datetime", text="Date")
 
         layout.prop(params, "recursion_level", text="Recursions")