Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux)

This commit is contained in:
YuSanka 2019-02-04 12:07:15 +01:00
parent e2b8c3e33c
commit b7f24aebe3
7 changed files with 37 additions and 25 deletions

View file

@ -82,7 +82,7 @@ class OptionsGroup {
public:
const bool staticbox {true};
const wxString title {wxString("")};
size_t label_width {200};
size_t label_width = 15 * wxGetApp().em_unit();// {200};
wxSizer* sizer {nullptr};
column_t extra_column {nullptr};
t_change m_on_change { nullptr };