Page MenuHome

UI: Corrects the text alignment of the RGB/HSV/Hex toggle in the color picker
ClosedPublic

Authored by Yevgeny Makarov (jenkm) on Dec 14 2020, 10:17 PM.

Diff Detail

Repository
rB Blender

Event Timeline

Yevgeny Makarov (jenkm) requested review of this revision.Dec 14 2020, 10:17 PM
Yevgeny Makarov (jenkm) created this revision.
Yevgeny Makarov (jenkm) retitled this revision from Revert: Fix T80313: Fix clipped text in splash screen on hiDPI monitors to Fix T84869: Expanded enums now always draw center aligned.Jan 28 2021, 2:26 PM
Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)
Julian Eisel (Severin) requested changes to this revision.Feb 1 2021, 8:34 PM

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.

This revision now requires changes to proceed.Feb 1 2021, 8:34 PM
Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)

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.

Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)

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.

This revision is now accepted and ready to land.Feb 19 2021, 7:15 PM
Yevgeny Makarov (jenkm) retitled this revision from Fix T84869: Expanded enums now always draw center aligned to UI: Corrects the text alignment of the RGB/HSV/Hex toggle in the color picker.
Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)