From 73d284db29e04c6175a2b4d39d0a4fbf4fff5ef1 Mon Sep 17 00:00:00 2001 From: Dmitry Vedenko Date: Thu, 1 Feb 2024 12:14:54 +0300 Subject: [PATCH] Change the border color in project list --- modules/mod-cloud-audiocom/ui/ProjectsListDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/mod-cloud-audiocom/ui/ProjectsListDialog.cpp b/modules/mod-cloud-audiocom/ui/ProjectsListDialog.cpp index a3072acb0755..fade47a9678c 100644 --- a/modules/mod-cloud-audiocom/ui/ProjectsListDialog.cpp +++ b/modules/mod-cloud-audiocom/ui/ProjectsListDialog.cpp @@ -117,7 +117,7 @@ class ProjectsListDialog::ProjectsTableData final : public wxGridTableBase int GetColWidth(int col) const { - static const int colWidths[] = { 400, 100 }; + static const int colWidths[] = { 400, 150 }; return col < 2 ? colWidths[col] : 0; } @@ -201,6 +201,7 @@ ProjectsListDialog::ProjectsListDialog(wxWindow* parent, AudacityProject* projec mProjectsTable = safenew wxGrid { this, wxID_ANY }; mProjectsTableData = safenew ProjectsTableData { *this, 7 }; mProjectsTable->SetDefaultRowSize(32); + mProjectsTable->SetGridLineColour(mProjectsTable->GetDefaultCellBackgroundColour()); mProjectsTable->SetDefaultCellAlignment(wxALIGN_LEFT, wxALIGN_CENTER); mProjectsTable->SetTable(mProjectsTableData, true); mProjectsTable->SetRowLabelSize(1);