1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

Fix remaining issue with #646

Good catch David!!!
This commit is contained in:
lllucius 2013-10-09 13:55:44 +00:00
parent b8d1d915f8
commit d2b65de318

View File

@ -557,9 +557,8 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
miState.Add( SHOW_CHECKED );
wxFileName fn(mFiles[i]);
wxString space(wxT(" "));
wxString name(space + fn.GetName() + space );
wxString path(space + fn.GetFullPath() + space );
wxString name( fn.GetName() );
wxString path( fn.GetFullPath() );
mPlugins->InsertItem( i, name, SHOW_CHECKED );
mPlugins->SetItem( i, COL_PATH, path );
@ -572,11 +571,11 @@ void PluginRegistrationDialog::PopulateOrExchange(ShuttleGui &S)
iPathLen = wxMax( iPathLen, x + r.width + (r.x * 2) );
}
mPlugins->SetColumnWidth(COL_NAME, iNameLen);
mPlugins->SetColumnWidth(COL_PATH, iPathLen);
mPlugins->SetColumnWidth(COL_NAME, iNameLen + /* fudge */ 5);
mPlugins->SetColumnWidth(COL_PATH, iPathLen + /* fudge */ 5);
//SetBoldOrRegular( miSelected );
mPlugins->SetSizeHints( iNameLen + iPathLen, 200 );
mPlugins->SetSizeHints( iNameLen + iPathLen + /* fudge */ 15 , 200 );
if( mFiles.GetCount() > 0 )
{
// Make sure first item is selected/focused.