From d33fe443251131fb5a3f4072be311d3653d8dc1f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 26 Oct 2020 11:31:20 +0000 Subject: [PATCH] Fix colour conversion choice on GTK3. --- src/wx/video_panel.cc | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.30.2