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>
Sun, 13 Feb 2022 16:00:59 +0000 (17:00 +0100)
src/wx/wx_util.cc

index 266989a4dd275f9fc139ddaacffe21eb2f4bd2ca..62e3de9cc78cb8f875b0b156370b176ba654d851 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;
 }