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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-27 17:46:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-27 17:46:10 +0300
commite4d82c0dcffb95af8bce5bedd19164a6760a95e1 (patch)
tree37d9b17908fb88631e193e7427fcefa02cb5964d /source
parente22b870b4a4c02f762471744675f5b4d8a940304 (diff)
Fix T54435: Quit prompt fails w/ fractional scale
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 408229e501c..0bfe62c7a8e 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -346,7 +346,7 @@ static uiBlock *block_create_confirm_quit(struct bContext *C, struct ARegion *ar
UI_block_emboss_set(block, UI_EMBOSS);
uiLayout *layout = UI_block_layout(
- block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, 10, 2, U.pixelsize * 480, U.pixelsize * 110, 0, style);
+ block, UI_LAYOUT_VERTICAL, UI_LAYOUT_PANEL, 10, 2, U.widget_unit * 24, U.widget_unit * 6, 0, style);
/* Text and some vertical space */
{