projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0040c
)
Allow a little more space in small_button_size for the ru_RU translation.
author
Carl Hetherington
<cth@carlh.net>
Wed, 9 Feb 2022 23:19:15 +0000
(
00:19
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 13 Feb 2022 16:00:59 +0000
(17:00 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 266989a4dd275f9fc139ddaacffe21eb2f4bd2ca..62e3de9cc78cb8f875b0b156370b176ba654d851 100644
(file)
--- a/
src/wx/wx_util.cc
+++ b/
src/wx/wx_util.cc
@@
-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;
}