Custom control : fixed re-scaling for MSW

This commit is contained in:
YuSanka 2020-10-23 19:17:10 +02:00 committed by Oleksandra Yushchenko
parent 1b3c288b35
commit e93e80166b
6 changed files with 173 additions and 79 deletions

View file

@ -686,6 +686,9 @@ void ConfigOptionsGroup::msw_rescale()
for (const auto& field : m_fields)
field.second->msw_rescale(sidetext_width>0);
if (custom_ctrl)
custom_ctrl->msw_rescale();
const int em = em_unit(parent());
// rescale width of label column