1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Improve the Dry Preview button horizontal spacing after Preview button.

This commit is contained in:
v.audacity 2013-06-26 03:40:54 +00:00
parent dfbbd43baf
commit 607ddbe193

View File

@ -2175,19 +2175,16 @@ wxSizer *CreateStdButtonSizer(wxWindow *parent, long buttons, wxButton *extra)
bs->AddButton( new wxButton( parent, wxID_HELP ) );
}
if( (buttons & ePreviewButton) && (buttons & ePreviewDryButton) )
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, ePreviewID, _("Pre&view") ) );
bs->Add(8, 0);
bs->Add(new wxButton( parent, ePreviewDryID, _("Dry Previe&w") ) );
bs->Add( 20, 0 );
}
else if( buttons & ePreviewButton )
{
b = new wxButton( parent, ePreviewID, _("Pre&view") );
bs->Add( b, 0, wxALIGN_CENTER | wxLEFT | wxRIGHT, margin );
bs->Add( 40, 0 );
}
if( buttons & eDefaultsButton )
{