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.
This commit is contained in:
Sergey Sharybin
2012-01-31 15:59:52 +00:00
parent 21554f2df5
commit e76a87c0b2

View File

@@ -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 {