UI: Fix for checkbox width calculation.
The button rect depends on "Line Width", this should be taken into account
when calculating the width of the checkbox. Although this is not particularly evident
due to int rounding, but it is here.
Differential D9025
UI: Fix for checkbox width calculation Authored by Yevgeny Makarov (jenkm) on Sep 27 2020, 1:38 PM.
Details UI: Fix for checkbox width calculation. The button rect depends on "Line Width", this should be taken into account
Diff Detail
Event Timeline
This comment was removed by Yevgeny Makarov (jenkm). Comment Actions I'm not that familiar with this code, but based on the description this seems like a reasonable change. It's still a bit unfortunate to have the numbers without any description here, like "6", but that's not necessarily in the scope of this patch. | ||||||