UI: popover now use menu style buttons

Also scale width with UI-scale.
This commit is contained in:
2018-04-22 18:39:29 +02:00
parent e6d1fb87c6
commit 92404dd48d
2 changed files with 7 additions and 2 deletions

View File

@@ -4266,7 +4266,11 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
}
}
break;
case UI_BTYPE_POPOVER:
wt = widget_type(UI_WTYPE_PULLDOWN);
break;
case UI_BTYPE_PULLDOWN:
wt = widget_type(UI_WTYPE_PULLDOWN);
break;