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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user