Make the audio plot expand in height when its window is enlarged.
authorCarl Hetherington <cth@carlh.net>
Sun, 7 Apr 2013 13:25:18 +0000 (14:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 Apr 2013 13:25:18 +0000 (14:25 +0100)
ChangeLog
src/wx/audio_dialog.cc

index f8ddd967d2931b0339bbcdf01e73af7b39d8330d..de24ad89bacee022ebefca7697e40cb82eb63f38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-07  Carl Hetherington  <cth@carlh.net>
+
+       * Make the audio plot expand in height when its
+       window is enlarged.
+
 2013-04-01  Carl Hetherington  <cth@carlh.net>
 
        * Version 0.79 released.
index 3d17988b617bb39f980bd8c1ccd2f992537ad7e7..39650d15718de466e8e5847ef93a4e1b766b2c9e 100644 (file)
@@ -35,7 +35,7 @@ AudioDialog::AudioDialog (wxWindow* parent)
        wxBoxSizer* sizer = new wxBoxSizer (wxHORIZONTAL);
 
        _plot = new AudioPlot (this);
-       sizer->Add (_plot, 1, wxALL, 12);
+       sizer->Add (_plot, 1, wxALL | wxEXPAND, 12);
 
        wxBoxSizer* side = new wxBoxSizer (wxVERTICAL);