summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-07 14:25:18 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-07 14:25:18 +0100
commit4725a493ed1fc6886b36553bd4600261aa644800 (patch)
treeabda8513e8f706c15bd167b2dadb3dad5bc1e8dc
parent26a7e35765ae09606ce16365acd5d9a7f2876a3f (diff)
Make the audio plot expand in height when its window is enlarged.
-rw-r--r--ChangeLog5
-rw-r--r--src/wx/audio_dialog.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8ddd967d..de24ad89b 100644
--- 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.
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc
index 3d17988b6..39650d157 100644
--- a/src/wx/audio_dialog.cc
+++ b/src/wx/audio_dialog.cc
@@ -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);