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.
This commit is contained in:
@@ -93,6 +93,7 @@
|
|||||||
|
|
||||||
#include "UI_interface.h"
|
#include "UI_interface.h"
|
||||||
#include "UI_interface_icons.h"
|
#include "UI_interface_icons.h"
|
||||||
|
#include "UI_view2d.h"
|
||||||
#include "interface_intern.h"
|
#include "interface_intern.h"
|
||||||
|
|
||||||
#include "PIL_time.h"
|
#include "PIL_time.h"
|
||||||
@@ -6191,7 +6192,7 @@ void uiTemplateList(uiLayout *layout,
|
|||||||
"",
|
"",
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
UI_UNIT_X * 0.75,
|
V2D_SCROLL_WIDTH,
|
||||||
UI_UNIT_Y * dyn_data->visual_height,
|
UI_UNIT_Y * dyn_data->visual_height,
|
||||||
&ui_list->list_scroll,
|
&ui_list->list_scroll,
|
||||||
0,
|
0,
|
||||||
@@ -6331,7 +6332,7 @@ void uiTemplateList(uiLayout *layout,
|
|||||||
"",
|
"",
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
UI_UNIT_X * 0.75,
|
V2D_SCROLL_WIDTH,
|
||||||
UI_UNIT_Y * dyn_data->visual_height,
|
UI_UNIT_Y * dyn_data->visual_height,
|
||||||
&ui_list->list_scroll,
|
&ui_list->list_scroll,
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user