From 51be26b49b45790d0d08512ab381c65ee181ed9a Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Sun, 26 Oct 2014 14:42:25 +0000 Subject: [PATCH] Restore default meter size. The meters are back to the length they used to be (with a little space lost for the grabber). If we want to increase their default lengths then we should look at the space saver idea (make them less tall) or else widen the initial size of Audacity main screen. --- src/toolbars/MeterToolBar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/toolbars/MeterToolBar.h b/src/toolbars/MeterToolBar.h index ddd8db008..7077988b9 100644 --- a/src/toolbars/MeterToolBar.h +++ b/src/toolbars/MeterToolBar.h @@ -46,7 +46,8 @@ class MeterToolBar:public ToolBar { virtual void OnSize(wxSizeEvent & event); virtual bool Expose( bool show ); - int GetInitialWidth() {return 338;} + int GetInitialWidth() {return (mWhichMeters == + (kWithRecordMeter + kWithPlayMeter)) ? 338 : 165;} int GetMinToolbarWidth() { return 100; } private: