UI: popover now use menu style buttons
Also scale width with UI-scale.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user