summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-03 09:16:27 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-03 09:16:27 +0200
commit5254047c3ad8c8c4b7ed7bf5b735b8448fcf1c29 (patch)
tree21671f3baaa1db61e20e22906ad071b987b615bd /src/wx
parent061466f78357b15ad39f699b1f03c9c4fa35954e (diff)
parent591c73b472f0eb74225dbc1b08885f552b8814c4 (diff)
Merge branch 'v2.15.x' of ssh://git.carlh.net/home/carl/git/dcpomatic into v2.15.x
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/video_panel.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index a2aa6f234..7a892bb74 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -85,9 +85,11 @@ VideoPanel::VideoPanel (ContentPanel* p)
#ifdef __WXGTK3__
int const crop_width = 128;
+ int const link_width = 32;
int const link_height = 64;
#else
int const crop_width = 56;
+ int const link_width = 22;
int const link_height = 28;
#endif
@@ -102,7 +104,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
boost::bind (&VideoPanel::left_crop_changed, this)
);
- _left_right_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(22, link_height));
+ _left_right_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(link_width, link_height));
_left_right_link->SetBitmap (wxBitmap(bitmap_path("link"), wxBITMAP_TYPE_PNG));
_right_crop_label = create_label (this, _("Right"), true);
@@ -127,7 +129,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
boost::bind (&VideoPanel::top_crop_changed, this)
);
- _top_bottom_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(22, link_height));
+ _top_bottom_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(link_width, link_height));
_top_bottom_link->SetBitmap (wxBitmap(bitmap_path("link"), wxBITMAP_TYPE_PNG));
_bottom_crop_label = create_label (this, _("Bottom"), true);