diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-11-25 13:42:49 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-11-25 13:48:59 +0300 |
commit | 85cf56ecbc62dc8d77ba177d01b32065e63166cc (patch) | |
tree | 7a049d5b7778df3f01a314678bf5022d9afcd249 /source/blender/editors | |
parent | 693d89170315cf62f63c35ecbdeeb4371dc9f733 (diff) |
UI: Reduce width of UI-List scrollbars
When scrollbars were redesigned, the size of UI-List scrollbars wasn't
updated. Those were still huge.
This makes their size consistent with other scrollbars and frankly,
non-rediculous.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index f5c5ef5f5e2..a65e70d4109 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -93,6 +93,7 @@ #include "UI_interface.h" #include "UI_interface_icons.h" +#include "UI_view2d.h" #include "interface_intern.h" #include "PIL_time.h" @@ -6191,7 +6192,7 @@ void uiTemplateList(uiLayout *layout, "", 0, 0, - UI_UNIT_X * 0.75, + V2D_SCROLL_WIDTH, UI_UNIT_Y * dyn_data->visual_height, &ui_list->list_scroll, 0, @@ -6331,7 +6332,7 @@ void uiTemplateList(uiLayout *layout, "", 0, 0, - UI_UNIT_X * 0.75, + V2D_SCROLL_WIDTH, UI_UNIT_Y * dyn_data->visual_height, &ui_list->list_scroll, 0, |