Blender Git Loki

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:

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/ (+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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021