diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-31 19:59:52 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-31 19:59:52 +0400 |
commit | e76a87c0b295fe47079aca4e375eb8a9bea54b89 (patch) | |
tree | 8973d1e98056724e8bf1f11cf9253f123d20c240 /source | |
parent | 21554f2df5a369c41e47f5aeaa5dc871503738c4 (diff) |
Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small
Now fonts in popup lists will also be scaled together with panel from which they're displaying.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_regions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index 8e336a363df..360b58eb0a9 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -1541,6 +1541,8 @@ uiPopupBlockHandle *ui_popup_block_create(bContext *C, ARegion *butregion, uiBut if(ELEM(but->type, BLOCK, PULLDOWN)) block->xofs = -2; /* for proper alignment */ + block->aspect = but->block->aspect; + ui_block_position(window, butregion, but, block); } else { |