ARegion.sizex/y should never have DPI factor applied. For regular panel regions, DPI will be applied in region_rect_recursive already, causing it to be applied twice when region size is set dynamically (= based on content dimensions).
ARegion.sizex/y should never have DPI factor applied. For regular panel regions, DPI will be applied in region_rect_recursive already, causing it to be applied twice when region size is set dynamically (= based on content dimensions).