projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c35515
)
Flip SPL list and content list.
author
Carl Hetherington
<cth@carlh.net>
Fri, 26 Oct 2018 00:29:32 +0000
(
01:29
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 26 Oct 2018 00:29:32 +0000
(
01:29
+0100)
src/wx/controls.cc
patch
|
blob
|
history
diff --git
a/src/wx/controls.cc
b/src/wx/controls.cc
index 747d2106171ca53912dd632363429f1639f0c816..d8df6f2f3d255d787f20be63428dfbf3d994e1e8 100644
(file)
--- a/
src/wx/controls.cc
+++ b/
src/wx/controls.cc
@@
-89,6
+89,10
@@
Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
wxBoxSizer* left_sizer = new wxBoxSizer (wxVERTICAL);
wxBoxSizer* left_sizer = new wxBoxSizer (wxVERTICAL);
+ _spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
+ _spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 740);
+ left_sizer->Add (_spl_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
+
_content_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
/* time */
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80);
_content_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
/* time */
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80);
@@
-98,10
+102,6
@@
Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 580);
left_sizer->Add (_content_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 580);
left_sizer->Add (_content_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
- _spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
- _spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 740);
- left_sizer->Add (_spl_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
-
wxBoxSizer* e_sizer = new wxBoxSizer (wxHORIZONTAL);
e_sizer->Add (left_sizer, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
wxBoxSizer* e_sizer = new wxBoxSizer (wxHORIZONTAL);
e_sizer->Add (left_sizer, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);