diff options
author | Pablo Vazquez <pablovazquez> | 2021-10-13 15:28:55 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2021-10-13 15:31:03 +0300 |
commit | 518365395152e516af235366f4be908a40343b87 (patch) | |
tree | 8f4a6a44c16889b2c11a736e45e0dafcd3c4dd55 /source/blender/blenkernel/intern/customdata.c | |
parent | 72e81a45c4ce3963a5aa929adb00d762db7e07ef (diff) |
UI: Make menu item use theme roundness
Menu items ignore the roundness setting since they spread left to right.
This patch makes it so menu items use the theme preference instead of
hardcoded square corners. Providing more flexibility to themes.
All built-in and included themes already have this set so no need to update them. For the default themes (Dark/Light) roundness is 0.4.
{F10950727, size=full}
The motivations behind this change are:
* To be more consistent with other widgets.
* Improve themes flexibility.
* Match padding with other elements that have like the Search field:
{F10950746, size=full}
Reviewed By: #user_interface, Severin
Differential Revision: https://developer.blender.org/D12813
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
0 files changed, 0 insertions, 0 deletions