projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f09ec8
)
Fix wx3.1.x alignment errors.
author
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2021 00:39:22 +0000
(
01:39
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2021 02:16:16 +0000
(
03:16
+0100)
src/wx/self_dkdm_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/self_dkdm_dialog.cc
b/src/wx/self_dkdm_dialog.cc
index ceaeff289985e5f6a399a3516729d4b11228549a..71ea089dd4e30574aeff1eff05912ba29a6348ce 100644
(file)
--- a/
src/wx/self_dkdm_dialog.cc
+++ b/
src/wx/self_dkdm_dialog.cc
@@
-65,17
+65,17
@@
SelfDKDMDialog::SelfDKDMDialog (wxWindow* parent, std::shared_ptr<const Film> fi
/* Sub-heading: CPL */
wxStaticText* h = new StaticText (this, _("CPL"));
h->SetFont (subheading_font);
/* Sub-heading: CPL */
wxStaticText* h = new StaticText (this, _("CPL"));
h->SetFont (subheading_font);
- vertical->Add (h
, 0, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_Y_GAP * 2
);
+ vertical->Add (h);
_cpl = new KDMCPLPanel (this, film->cpls ());
vertical->Add (_cpl);
/* Sub-heading: output */
h = new StaticText (this, _("Output"));
h->SetFont (subheading_font);
_cpl = new KDMCPLPanel (this, film->cpls ());
vertical->Add (_cpl);
/* Sub-heading: output */
h = new StaticText (this, _("Output"));
h->SetFont (subheading_font);
- vertical->Add (h, 0, wx
ALIGN_CENTER_VERTICAL | wx
TOP, DCPOMATIC_SIZER_Y_GAP * 2);
+ vertical->Add (h, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP * 2);
_internal = new wxRadioButton (this, wxID_ANY, _("Save to KDM Creator tool's list"));
_internal = new wxRadioButton (this, wxID_ANY, _("Save to KDM Creator tool's list"));
- vertical->Add (_internal, 0, wx
ALIGN_CENTER_VERTICAL | wx
TOP, DCPOMATIC_SIZER_Y_GAP);
+ vertical->Add (_internal, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
wxBoxSizer* w = new wxBoxSizer (wxHORIZONTAL);
wxBoxSizer* w = new wxBoxSizer (wxHORIZONTAL);