projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c4a68
)
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>
Fri, 11 Feb 2022 18:30:07 +0000
(19:30 +0100)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 47a6bd5b05141a704ed08a86b3df64c39b9d3d57..62f00b6b2db39f5132f599152fc1321358aeb953 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;
}