Fix #118087: Weird spacing of tabs in the Properties editor #118125

Closed
Prikshit singh wants to merge 1 commits from Prikshit-singh/blender:Fix/menu_spacing into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 2 deletions

View File

@ -3449,8 +3449,8 @@ void uiItemS_ex(uiLayout *layout, float factor, const LayoutSeparatorType type)
}
bool is_vertical = (layout->w > 0);
int width = is_vertical ? int(UI_UNIT_X) : int(0.3f * UI_UNIT_X * factor);
int height = is_vertical ? int(0.35f * UI_UNIT_X * factor) : int(UI_UNIT_Y);
int width = is_vertical ? int(0.35f * UI_UNIT_X * factor) : int(UI_UNIT_Y);
int height = is_vertical ? int(UI_UNIT_X) : int(0.3f * UI_UNIT_X * factor);
eButType but_type;