Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-02-25 17:06:51 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-02-25 17:13:25 +0300
commitfe3264fafd1c7c15e4c7cfc86d25a6500d01a820 (patch)
treeba40bbd17e711190031ce6683ebf3cbeccf3e824 /source/blender/windowmanager/intern/wm_splash_screen.c
parentb0786d069cee989a924338fd450f7b4d5e7f47ce (diff)
UI: fix wrong button padding on high DPI displays in a few places
Differential Revision: https://developer.blender.org/D6928
Diffstat (limited to 'source/blender/windowmanager/intern/wm_splash_screen.c')
-rw-r--r--source/blender/windowmanager/intern/wm_splash_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_splash_screen.c b/source/blender/windowmanager/intern/wm_splash_screen.c
index 3603ce81654..7f6eebb95ab 100644
--- a/source/blender/windowmanager/intern/wm_splash_screen.c
+++ b/source/blender/windowmanager/intern/wm_splash_screen.c
@@ -259,7 +259,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
{
uiBlock *block;
uiBut *but;
- uiStyle *style = UI_style_get();
+ uiStyle *style = UI_style_get_dpi();
block = UI_block_begin(C, ar, "splash", UI_EMBOSS);