UI: experimental support for "alert" property in menus/popups #109828
Open
Philipp Oeser
wants to merge 1 commits from
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
lichtwerk/blender:109778
into main
pull from: lichtwerk/blender:109778
merge into: blender:main
blender:main
blender:blender-v3.6-release
blender:blender-v3.3-release
blender:universal-scene-description
blender:brush-assets-project
blender:partial-write-refactor
blender:blender-v4.1-release
blender:blender-v3.6-temp_wmoss_animrig_public
blender:temp-sculpt-dyntopo
blender:gpencil-next
blender:anim/animation-id-113594
blender:blender-v4.0-release
blender:blender-projects-basics
blender:bridge-curves
blender:sculpt-blender
blender:asset-browser-frontend-split
blender:asset-shelf
blender:tmp-usd-python-mtl
blender:tmp-usd-3.6
blender:blender-v3.5-release
blender:blender-v2.93-release
blender:realtime-clock
blender:sculpt-dev
blender:bevelv2
blender:xr-dev
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
Philipp Oeser | c15f81137f |
UI: experimental support for "alert" property in menus/popups
The red alert color in the UI is currently only supported for: - uiItemFullR - uiItemFullO_ptr_ex - uiItemL_ This patch adds experimental support for this for menus. The intention behind this is to indicate an alert further down the menu on the menu/ popup itself, so it is more discoverable. Put this up to see if we even want this at all (not sure if this is very common in other UIs tbh). For testing purposes, some existing menus have been marked with the alert property (this is to be removed prior to possible landing of this patch). ![image](/attachments/b878c461-d4ed-430a-9561-94d88b0137f7) ![image](/attachments/9a791539-09f7-40ed-b5fd-dcd8dd729ce8) ![image](/attachments/5296195d-7b52-4750-9ff7-ef4ef27fcc32) Fixes #109778. |