Blender Git Commit Log

Git Commits -> Revision 0c62906

Revision 0c62906 by Yevgeny Makarov (master)
February 21, 2021, 16:32 (GMT)
UI: Correct the text alignment in the quick setup (splash screen) dialog

The "quick setup" dialog is actually a 'menu', and the "splash screen" block
contains the UI_BLOCK_LOOP flag which causes the buttons' text to align
to the left, however, usually regular buttons have centered text.

As a workaround, add the UI_BLOCK_QUICK_SETUP flag which prevents
the text from being left-aligned.

Differential Revision: https://developer.blender.org/D10486

Reviewed by: Julian Eisel

Commit Details:

Full Hash: 0c62906a4145b242d5ed772209038f65d7b493a8
Parent Commit: 08dbc4f
Committed By: Julian Eisel
Lines Changed: +31, -15

4 Modified Paths:

/release/scripts/startup/bl_operators/wm.py (+7, -13) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_splash_screen.c (+20, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021