summaryrefslogtreecommitdiff
path: root/src/wx/timecode.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-08 20:13:09 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-08 20:23:14 +0100
commite06d1831abc6786933db935f298c8a4e8e76e599 (patch)
tree56a7f6b29f6fd774ce1ddedf4629e6156c6591b7 /src/wx/timecode.cc
parent942f2c6ae6be33fb17ec46931bbe071a9d2e6f17 (diff)
Shrink some big buttons.
Diffstat (limited to 'src/wx/timecode.cc')
-rw-r--r--src/wx/timecode.cc3
1 files changed, 2 insertions, 1 deletions
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);