FileBrowser: Add an 'hidden file' icon, and use it instead of named checkbox for 'show hidden' param.

This commit is contained in:
2015-01-13 16:36:49 +01:00
parent a97c5d1f9f
commit 0d7c41d789
5 changed files with 158 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ class FILEBROWSER_HT_header(Header):
layout.prop(params, "display_type", expand=True, text="")
layout.prop(params, "sort_method", expand=True, text="")
layout.prop(params, "show_hidden")
layout.prop(params, "show_hidden", text="", icon='FILE_HIDDEN')
layout.prop(params, "use_filter", text="", icon='FILTER')
row = layout.row(align=True)