UI: Corrects the text alignment of the RGB/HSV/Hex toggle in the color picker
Details
Details
- Reviewers
Julian Eisel (Severin) Hans Goudey (HooglyBoogly) - Maniphest Tasks
- T84869: Expanded enums now always draw center aligned (was left aligned)
T80313: "Searc" Typo on Button in Quick Setup Dialog - Commits
- rBcab26abbdb07: UI: Correct the text alignment of the RGB/HSV/Hex toggle in the color picker
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
It's hard to foresee what not setting UI_BLOCK_LOOP will have as consequences. Think it would mostly be fine. But I did notice it behaves incorrectly (as in, not as before) when the window size is changed.
For the 2.92 release I think we should just revert my fix and live with the small visual glitch.
Comment Actions
The "Load Settings" and "Save New Settings" buttons can be implemented in C, which will allow you to center the text.
And I think that not to expand enums is a good enough solution to "fix" the others.
Comment Actions
Committed the revert itself to the release branch, b1142858d4ca.
Could you update this patch and the description, to make clear that this only corrects the color picker text alignment? This can go into master then.

