Page MenuHome

UI: Fix UIList item using "regular" widget colors while edited
ClosedPublic

Authored by Pablo Vazquez (pablovazquez) on Nov 2 2021, 7:26 PM.

Details

Summary

Simply removing the check for UI_STATE_TEXT_INPUT makes it inherit
the "List Item" User Interface theme settings. This patch changes the
default theme to match the colors of text input fields.

Master

This patch

All the included commmunity themes seem to work well (only Deep Grey might
need more contrast but that's a different patch).

Related reports: T92720

Diff Detail

Repository
rB Blender

Event Timeline

Pablo Vazquez (pablovazquez) requested review of this revision.Nov 2 2021, 7:26 PM
Pablo Vazquez (pablovazquez) created this revision.

Makes sense and should be fine. Just one small code style correction to do, no need to re-review after that.

source/blender/editors/interface/interface_widgets.c
2529

Remove superfluous parentheses.

This revision is now accepted and ready to land.Nov 4 2021, 3:25 PM
  • Remove superfluous parenthesis
source/blender/editors/interface/interface_widgets.c
2529

Oops, relying too much in clang to fix things for me :D Thanks!

Pablo Vazquez (pablovazquez) marked an inline comment as done.Nov 4 2021, 5:21 PM