From 43042ab7c8cdac9c622d02bc95abe64d49673302 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Thu, 27 Jun 2013 01:27:36 +0000 Subject: [PATCH] Try a different way of specifying separation between Preview and Dry Preview buttons, that should be more correct cross-platform. --- src/ShuttleGui.cpp | 3 +-- src/effects/Reverb.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ShuttleGui.cpp b/src/ShuttleGui.cpp index f062a7e16..3c7e15d28 100644 --- a/src/ShuttleGui.cpp +++ b/src/ShuttleGui.cpp @@ -2178,11 +2178,10 @@ wxSizer *CreateStdButtonSizer(wxWindow *parent, long buttons, wxButton *extra) if (buttons & ePreviewButton) { bs->Add( new wxButton( parent, ePreviewID, _("Pre&view") ), 0, wxALIGN_CENTER | wxLEFT | wxRIGHT, margin ); - bs->Add( 5, 0 ); } if (buttons & ePreviewDryButton) { - bs->Add(new wxButton( parent, ePreviewDryID, _("Dry Previe&w") ) ); + bs->Add(new wxButton( parent, ePreviewDryID, _("Dry Previe&w") ), 0, wxALIGN_CENTER | wxLEFT | wxRIGHT, margin ); bs->Add( 20, 0 ); } diff --git a/src/effects/Reverb.cpp b/src/effects/Reverb.cpp index b6d48380b..1ebf8679b 100644 --- a/src/effects/Reverb.cpp +++ b/src/effects/Reverb.cpp @@ -310,8 +310,7 @@ ReverbDialogue::ReverbDialogue(EffectReverb * effect, wxWindow * parent): void ReverbDialogue::PopulateOrExchange(ShuttleGui & s) { - s.StartHorizontalLay(wxCENTER, false); // Add a little space - s.EndHorizontalLay(); + s.AddSpace(0, 5); s.StartMultiColumn(3, wxEXPAND); {