Skip to content

Commit

Permalink
Update ConnectDatasourceDlg.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Oct 9, 2024
1 parent 542f5d7 commit 3c24cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DialogTools/ConnectDatasourceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,9 +976,9 @@ void ConnectDatasourceDlg::InitSamplePanel() {
AddSampleItem(sample_sizer, sample_scrl, sample_name, sample_meta_url, ds_layername, ds_thumb,
base_xrcid_sample_thumb + static_cast<int>(i));
}
sample_scrl->SetSizer(sizer);
sample_scrl->SetSizer(sample_sizer);
sample_scrl->Layout();
sizer->Fit(sample_scrl);
sample_sizer->Fit(sample_scrl);
}

sizer->Add(sample_scrl, 1, wxEXPAND | wxRIGHT, 5);
Expand Down

0 comments on commit 3c24cb4

Please sign in to comment.