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:
authorraa <roaoao@gmail.com>2017-03-01 19:30:18 +0300
committerraa <roaoao@gmail.com>2017-03-01 19:30:18 +0300
commitecee40e9191f6e913503a274c26fc3815dd095b5 (patch)
tree2894921cbe73e693ce6c5e59e430be53d1b278c9 /source/blender/editors/interface/interface_layout.c
parent714e85b5344db7d9c9c7ac0a91cd0bb574c35353 (diff)
All drop-down buttons should use the same width
Diffstat (limited to 'source/blender/editors/interface/interface_layout.c')
-rw-r--r--source/blender/editors/interface/interface_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index aa39870d755..ad5f6279606 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -1274,7 +1274,7 @@ static void ui_item_rna_size(
if (!w) {
if (type == PROP_ENUM && icon_only) {
w = ui_text_icon_width(layout, "", ICON_BLANK1, 0);
- w += 0.6f * UI_UNIT_X;
+ w += 0.5f * UI_UNIT_X;
}
else {
w = ui_text_icon_width(layout, name, icon, 0);