UI: Fix padding of version label in splash screen
Differential Revision: D13018
This commit is contained in:
parent
c5d08aa0a3
commit
1e590234f7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue