1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Rename ShuttleGui::SetSizeHints, chain-call it like other methods...

... And rewrite some other existing calls to SetMinSize
This commit is contained in:
Paul Licameli
2018-01-31 15:31:22 -05:00
parent 64a96e6f01
commit b5ee7676fd
27 changed files with 120 additions and 94 deletions

View File

@@ -84,6 +84,7 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
S.StartStatic(_("&Manage History"), 1);
{
mList = S
.MinSize()
.AddListControlReportMode(
{ { _("Action"), wxLIST_FORMAT_LEFT, 260 },
{ _("Reclaimable Space"), wxLIST_FORMAT_LEFT, 125 } },
@@ -139,7 +140,6 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
S.EndVerticalLay();
// ----------------------- End of main section --------------
mList->SetMinSize(mList->GetSize());
Fit();
SetMinSize(GetSize());
mList->SetColumnWidth(0, mList->GetClientSize().x - mList->GetColumnWidth(1));