mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Ensure row selection mode is used in grids
This commit is contained in:
parent
197ebc2994
commit
3d632d397d
@ -128,7 +128,7 @@ LabelDialog::~LabelDialog()
|
||||
void LabelDialog::PopulateLabels()
|
||||
{
|
||||
// Build the initial (empty) grid
|
||||
mGrid->CreateGrid(0, Col_Max);
|
||||
mGrid->CreateGrid(0, Col_Max, wxGrid::wxGridSelectRows);
|
||||
mGrid->SetDefaultCellAlignment(wxALIGN_LEFT, wxALIGN_CENTER);
|
||||
|
||||
size_t ii = 0;
|
||||
|
@ -895,7 +895,7 @@ void TagsEditorDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
names, std::mem_fn( &TranslatableString::Translation ) );
|
||||
|
||||
// Build the initial (empty) grid
|
||||
mGrid->CreateGrid(0, 2);
|
||||
mGrid->CreateGrid(0, 2, wxGrid::wxGridSelectRows);
|
||||
mGrid->SetRowLabelSize(0);
|
||||
mGrid->SetDefaultCellAlignment(wxALIGN_LEFT, wxALIGN_CENTER);
|
||||
mGrid->SetColLabelValue(0, _("Tag"));
|
||||
|
@ -500,7 +500,6 @@ Grid::Grid(wxWindow *parent,
|
||||
safenew wxGridCellStringRenderer,
|
||||
safenew ChoiceEditor);
|
||||
|
||||
|
||||
SetSelectionForeground(GetDefaultCellTextColour());
|
||||
SetSelectionBackground(GetDefaultCellBackgroundColour());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user