From e06d1831abc6786933db935f298c8a4e8e76e599 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 Dec 2020 20:13:09 +0100 Subject: Shrink some big buttons. --- src/wx/timecode.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wx/timecode.cc') diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 684f29b19..0602358a9 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -62,8 +62,9 @@ TimecodeBase::TimecodeBase (wxWindow* parent, bool set_button) _frames = new wxTextCtrl (_editable, wxID_ANY, wxT(""), wxDefaultPosition, s, 0, validator); _frames->SetMaxLength (2); editable_sizer->Add (_frames); + if (set_button) { - _set_button = new Button (_editable, _("Set")); + _set_button = new Button (_editable, _("Set"), wxDefaultPosition, small_button_size(parent, _("Set"))); editable_sizer->Add (_set_button, 0, wxLEFT | wxRIGHT, 8); } _editable->SetSizerAndFit (editable_sizer); -- cgit v1.2.3