diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-27 17:46:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-27 17:46:10 +0300 |
commit | e4d82c0dcffb95af8bce5bedd19164a6760a95e1 (patch) | |
tree | 37d9b17908fb88631e193e7427fcefa02cb5964d /source/blender | |
parent | e22b870b4a4c02f762471744675f5b4d8a940304 (diff) |
Fix T54435: Quit prompt fails w/ fractional scale
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 |
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 */ { |