Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-10-27 19:56:41 +0300
committerJulian Eisel <julian@blender.org>2021-10-27 20:01:15 +0300
commit78c9c1012bc9a0c0dfd56e54ce5ddbe97e6e9324 (patch)
treea670525de988f7b5fd2695c916dca3509f37c770 /release/scripts/startup
parent78c1c719880cc97fc2719e6a7f67509459cc9e6c (diff)
Asset Browser: Increase size of search button a bit
Before this, the search button was quite small really, not much text would fit into it. Increase the size a bit, but not too much to still make the layout work in smaller area sizes.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_filebrowser.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 086df46d799..a33e2665b58 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -52,7 +52,9 @@ class FILEBROWSER_HT_header(Header):
icon_only=True,
)
- layout.prop(params, "filter_search", text="", icon='VIEWZOOM')
+ sub = layout.row()
+ sub.ui_units_x = 8
+ sub.prop(params, "filter_search", text="", icon='VIEWZOOM')
layout.popover(
panel="ASSETBROWSER_PT_filter",