UI: Popover Button Padding for Arrow #119181
|
@ -2995,9 +2995,7 @@ static uiBut *ui_item_menu(uiLayout *layout,
|
|||
|
||||
uiTextIconPadFactor pad_factor = ui_text_pad_compact;
|
||||
/* Ugly! Extra padding in specific circumstances. */
|
||||
if (layout->root->type == UI_LAYOUT_HEADER ||
|
||||
(layout->root->type == UI_LAYOUT_PANEL && force_menu))
|
||||
{
|
||||
if (layout->root->type == UI_LAYOUT_HEADER || force_menu) {
|
||||
if (icon == ICON_NONE && force_menu) {
|
||||
/* pass */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue