UI: Fix padding of version label in splash screen

Differential Revision: D13018
This commit is contained in:
Yevgeny Makarov 2021-11-03 17:54:03 +01:00 committed by Pablo Vazquez
parent c5d08aa0a3
commit 1e590234f7
1 changed files with 4 additions and 2 deletions

View File

@ -212,8 +212,10 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *region, void *UNUSE
UI_but_func_set(but, wm_block_close, block, NULL);
wm_block_splash_add_label(
block, BKE_blender_version_string(), splash_width, splash_height - 13.0 * U.dpi_fac);
wm_block_splash_add_label(block,
BKE_blender_version_string(),
splash_width - 8.0 * U.dpi_fac,
splash_height - 13.0 * U.dpi_fac);
const int layout_margin_x = U.dpi_fac * 26;
uiLayout *layout = UI_block_layout(block,