summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-26 11:31:20 +0000
committerCarl Hetherington <cth@carlh.net>2020-10-26 11:31:20 +0000
commitd33fe443251131fb5a3f4072be311d3653d8dc1f (patch)
treef2e478cf837bca98a869e278f30c5a3d5c818091
parent2139d4b5dc40d555fddbbc615c805fecf9f3f807 (diff)
Fix colour conversion choice on GTK3.
-rw-r--r--src/wx/video_panel.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 9a495702d..3734055ef 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -170,6 +170,9 @@ VideoPanel::VideoPanel (ContentPanel* p)
wxClientDC dc (this);
wxSize size = dc.GetTextExtent (wxT ("A quite long name"));
+#ifdef __WXGTK3__
+ size.SetWidth (size.GetWidth() + 64);
+#endif
size.SetHeight (-1);
_filters_label = create_label (this, _("Filters"), true);