Use a smaller cross icon for clearing search box contents

This commit is contained in:
Joshua Leung 2017-02-09 19:08:58 +13:00
parent 351eb4fad1
commit d2f4900d1a
Notes: blender-bot 2023-02-14 07:14:14 +01:00
Referenced by issue #50828, Grace Pencil crashes when try to use OpenGL render active viewport via Video Sequence Editor
Referenced by issue #50679, VSE locked strips moves with gaps tools
Referenced by issue #50634, Hair Primitive as Triangles + Hair shader with a texture = crash
1 changed files with 1 additions and 1 deletions

View File

@ -1584,7 +1584,7 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
temp.xmin = temp.xmax - (BLI_rcti_size_y(rect) * 1.08f);
if (extra_icon_type == UI_BUT_ICONEXTRA_CLEAR) {
widget_draw_icon(but, ICON_X, alpha, &temp, false);
widget_draw_icon(but, ICON_PANEL_CLOSE, alpha, &temp, false);
}
else if (extra_icon_type == UI_BUT_ICONEXTRA_EYEDROPPER) {
widget_draw_icon(but, ICON_EYEDROPPER, alpha, &temp, false);