Allow a little more space in small_button_size for the ru_RU translation.
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Feb 2022 23:19:15 +0000 (00:19 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 11 Feb 2022 18:30:07 +0000 (19:30 +0100)
src/wx/wx_util.cc

index 47a6bd5b05141a704ed08a86b3df64c39b9d3d57..62f00b6b2db39f5132f599152fc1321358aeb953 100644 (file)
@@ -657,7 +657,7 @@ small_button_size (wxWindow* parent, wxString text)
        wxClientDC dc (parent);
        auto size = dc.GetTextExtent (text);
        size.SetHeight (-1);
-       size.IncBy (24, 0);
+       size.IncBy (32, 0);
        return size;
 }