Custom control : fixed re-scaling for MSW

This commit is contained in:
YuSanka authored and Oleksandra Yushchenko committed 2020-11-02 06:48:30 -08:00
1 parent 1b3c288b35
commit e93e80166b
6 files changed
+173 -79

No files matched your search

+3
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