diff -urN audio/audacity.orig/files/patch-src_toolbars_DeviceToolBar.cpp audio/audacity/files/patch-src_toolbars_DeviceToolBar.cpp --- audio/audacity.orig/files/patch-src_toolbars_DeviceToolBar.cpp +++ audio/audacity/files/patch-src_toolbars_DeviceToolBar.cpp @@ -0,0 +1,74 @@ +--- src/toolbars/DeviceToolBar.cpp.orig ++++ src/toolbars/DeviceToolBar.cpp +@@ -126,7 +126,7 @@ + // so that name can be set on a standard control + mHost->SetAccessible(safenew WindowAccessible(mHost)); + #endif +- Add(mHost, 15, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); ++ Add(mHost, 100, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); + + // Input device + Add(safenew AStaticBitmap(this, +@@ -140,7 +140,7 @@ + // so that name can be set on a standard control + mInput->SetAccessible(safenew WindowAccessible(mInput)); + #endif +- Add(mInput, 30, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); ++ Add(mInput, 100, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); + + // Input channels + mInputChannels = safenew wxChoice(this, +@@ -151,7 +151,7 @@ + // so that name can be set on a standard control + mInputChannels->SetAccessible(safenew WindowAccessible(mInputChannels)); + #endif +- Add(mInputChannels, 20, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); ++ Add(mInputChannels, 200, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); + + // Output device + Add(safenew AStaticBitmap(this, +@@ -165,7 +165,7 @@ + // so that name can be set on a standard control + mOutput->SetAccessible(safenew WindowAccessible(mOutput)); + #endif +- Add(mOutput, 30, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); ++ Add(mOutput, 100, wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT, 1); + + #if defined(__WXGTK3__) + // Nothing special +@@ -424,7 +424,7 @@ + mHost->Enable(false); + } + +- mHost->SetMinSize(wxSize(50, wxDefaultCoord)); ++ mHost->SetMinSize(wxSize(100, wxDefaultCoord)); + } + + void DeviceToolBar::FillHostDevices() +@@ -490,7 +490,7 @@ + } + mInput->Enable(mInput->GetCount() ? true : false); + +- mInput->SetMinSize(wxSize(50, wxDefaultCoord)); ++ mInput->SetMinSize(wxSize(100, wxDefaultCoord)); + + for (auto & device : outMaps) { + if (foundHostIndex == device.hostIndex) { +@@ -505,7 +505,7 @@ + } + mOutput->Enable(mOutput->GetCount() ? true : false); + +- mOutput->SetMinSize(wxSize(50, wxDefaultCoord)); ++ mOutput->SetMinSize(wxSize(100, wxDefaultCoord)); + + // The setting of the Device is left up to OnChoice + } +@@ -553,7 +553,7 @@ + } + mInputChannels->Enable(mInputChannels->GetCount() ? true : false); + +- mInputChannels->SetMinSize(wxSize(50, wxDefaultCoord)); ++ mInputChannels->SetMinSize(wxSize(200, wxDefaultCoord)); + } + + void DeviceToolBar::OnRescannedDevices( wxCommandEvent &event ) diff -urN audio/audacity.orig/files/patch-src_toolbars_DeviceToolBar.h audio/audacity/files/patch-src_toolbars_DeviceToolBar.h --- audio/audacity.orig/files/patch-src_toolbars_DeviceToolBar.h +++ audio/audacity/files/patch-src_toolbars_DeviceToolBar.h @@ -0,0 +1,11 @@ +--- src/toolbars/DeviceToolBar.h.orig ++++ src/toolbars/DeviceToolBar.h +@@ -48,7 +48,7 @@ + /// When the prefs don't exist this value is used. + /// 883 takes a complete row in the default initial size of Audacity. + int GetInitialWidth() override{ return 883; } +- int GetMinToolbarWidth() override { return 350; } ++ int GetMinToolbarWidth() override { return 576; } + + void ShowInputDialog(); + void ShowOutputDialog();