Revert #119181: Popover Button Padding for Arrow
Reverting aa328e898e as this causes unintended changes elsewhere. Even
if made more conservative with just allowing UI_LAYOUT_PANEL and
force_menu. Will need further investigation for a better solution.
Pull Request: https://projects.blender.org/blender/blender/pulls/119187
This commit is contained in:
committed by
Harley Acheson
parent
aa328e898e
commit
7e8baea394
@@ -2994,8 +2994,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 || force_menu) {
|
||||
if (layout->root->type == UI_LAYOUT_HEADER) { /* Ugly! */
|
||||
if (icon == ICON_NONE && force_menu) {
|
||||
/* pass */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user