projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a1f95f8
)
macOS alignment fix (#2039).
author
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 22:15:29 +0000
(
00:15
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 6 Jun 2021 22:48:59 +0000
(
00:48
+0200)
src/wx/text_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/text_panel.cc
b/src/wx/text_panel.cc
index ebeb518ddb2e1f2d15e2e9483aad74fcab2aae39..134d397e83e3bc0f17e76c2b0ce7331645bb4e47 100644
(file)
--- a/
src/wx/text_panel.cc
+++ b/
src/wx/text_panel.cc
@@
-165,7
+165,7
@@
TextPanel::setup_visibility ()
_language_type->Append (_("Main"));
_language_type->Append (_("Additional"));
_language_type->Bind (wxEVT_CHOICE, boost::bind(&TextPanel::language_is_additional_changed, this));
_language_type->Append (_("Main"));
_language_type->Append (_("Additional"));
_language_type->Bind (wxEVT_CHOICE, boost::bind(&TextPanel::language_is_additional_changed, this));
- _language_sizer->Add (_language_type, 0);
+ _language_sizer->Add (_language_type, 0
, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_CHOICE_TOP_PAD
);
_grid->Add (_language_sizer, wxGBPosition(_ccap_track_or_language_row, 1), wxGBSpan(1, 2));
film_content_changed (TextContentProperty::LANGUAGE);
film_content_changed (TextContentProperty::LANGUAGE_IS_ADDITIONAL);
_grid->Add (_language_sizer, wxGBPosition(_ccap_track_or_language_row, 1), wxGBSpan(1, 2));
film_content_changed (TextContentProperty::LANGUAGE);
film_content_changed (TextContentProperty::LANGUAGE_IS_ADDITIONAL);