summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-10 01:07:57 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-10 01:07:58 +0100
commit81b34604cd5bfe4b801056f61af6d60a80904b3e (patch)
tree271e4d11f30b273e633651287242789b226b7123
parentfa98ed827fa805c6d34b0f4f4e4e683a186b13c1 (diff)
Improve vertical position of link buttons with GTK3.
-rw-r--r--src/wx/video_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 771d3e2b7..055f8eaba 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -228,7 +228,7 @@ VideoPanel::add_to_grid()
add_label_to_sizer(crop, _left_crop_label, true, wxGBPosition(cr, 0));
_left_crop->add(crop, wxGBPosition(cr, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL);
#ifdef __WXGTK3__
- crop->Add(_left_right_link, wxGBPosition(cr, 2), wxGBSpan(2, 1));
+ crop->Add(_left_right_link, wxGBPosition(cr, 2), wxGBSpan(2, 1), wxALIGN_CENTER_VERTICAL);
++cr;
add_label_to_sizer(crop, _right_crop_label, true, wxGBPosition(cr, 0));
_right_crop->add(crop, wxGBPosition(cr, 1));
@@ -241,7 +241,7 @@ VideoPanel::add_to_grid()
add_label_to_sizer(crop, _top_crop_label, true, wxGBPosition(cr, 0));
_top_crop->add(crop, wxGBPosition(cr, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL);
#ifdef __WXGTK3__
- crop->Add(_top_bottom_link, wxGBPosition(cr, 2), wxGBSpan(2, 1));
+ crop->Add(_top_bottom_link, wxGBPosition(cr, 2), wxGBSpan(2, 1), wxALIGN_CENTER_VERTICAL);
++cr;
add_label_to_sizer(crop, _bottom_crop_label, true, wxGBPosition(cr, 0));
_bottom_crop->add(crop, wxGBPosition(cr, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL);