diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-02 22:09:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-02 22:09:33 +0100 |
| commit | 8407612363705f757d3ab26d6e119171c217b00a (patch) | |
| tree | 96c5e07733656a8df6f0e660a828b1765110297f /src/wx/job_manager_view.h | |
| parent | e50e596448d17f32652a8215a01ae62a32c9afea (diff) | |
Seemingly rather long-winded way of making the JobManagerView in
dcpomatic_batch shrink nicely (i.e. shrinking the gauge) when the
window is shrunk. It seems surprising that we have to call back
to children to tell them to layout / fit-inside, but it does all
*seem* to be necessary.
Diffstat (limited to 'src/wx/job_manager_view.h')
| -rw-r--r-- | src/wx/job_manager_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/job_manager_view.h b/src/wx/job_manager_view.h index c4bb1e218..83ce4ee5a 100644 --- a/src/wx/job_manager_view.h +++ b/src/wx/job_manager_view.h @@ -43,6 +43,7 @@ public: private: void job_added (boost::weak_ptr<Job>); void periodic (); + void sized (wxSizeEvent &); wxPanel* _panel; wxFlexGridSizer* _table; |
