Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_filebrowser.py
| Show First 20 Lines • Show All 589 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| space = context.space_data | space = context.space_data | ||||
| params = space.params | params = space.params | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False # No animation. | layout.use_property_decorate = False # No animation. | ||||
| layout.prop(params, "display_type", text="Display as") | |||||
| if params.display_type == 'THUMBNAIL': | if params.display_type == 'THUMBNAIL': | ||||
| layout.prop(params, "display_size", text="Size") | layout.prop(params, "display_size", text="Size") | ||||
| else: | else: | ||||
| col = layout.column(heading="Columns", align=True) | col = layout.column(heading="Columns", align=True) | ||||
| col.prop(params, "show_details_size", text="Size") | col.prop(params, "show_details_size", text="Size") | ||||
| col.prop(params, "show_details_datetime", text="Date") | col.prop(params, "show_details_datetime", text="Date") | ||||
| ▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines | |||||