From e416b1f3735b0db8a2938d2a0892b0538ef811bf Mon Sep 17 00:00:00 2001 From: David Bailes Date: Thu, 20 Aug 2015 10:14:03 +0100 Subject: [PATCH] Fix for bug 1153 bug 1153: Using Windows, with display of all items set to 125%, in the dialogs for select audio host, select recording device, etc. the ok and cancel buttons had a very small height, and their labels were very difficult to read. --- src/toolbars/DeviceToolBar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toolbars/DeviceToolBar.cpp b/src/toolbars/DeviceToolBar.cpp index 762957439..33d86bd89 100644 --- a/src/toolbars/DeviceToolBar.cpp +++ b/src/toolbars/DeviceToolBar.cpp @@ -802,11 +802,11 @@ void DeviceToolBar::ShowComboDialog(wxChoice *combo, const wxString &title) &inputSources); } S.EndHorizontalLay(); - S.AddStandardButtons(); } S.EndVerticalLay(); + S.AddStandardButtons(); - dlg.SetSize(dlg.GetSizer()->GetMinSize()); + dlg.GetSizer()->SetSizeHints(&dlg); dlg.Center(); if (dlg.ShowModal() == wxID_OK)