Blender Git Commit Log

Git Commits -> Revision 5183653

Revision 5183653 by Pablo Vazquez (master)
October 13, 2021, 12:31 (GMT)
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

Commit Details:

Full Hash: 518365395152e516af235366f4be908a40343b87
Parent Commit: 72e81a4
Lines Changed: +8, -2

1 Modified Path:

/source/blender/editors/interface/interface_widgets.c (+8, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021