Skip to content

Commit

Permalink
Merge pull request #5385 from whalley/master
Browse files Browse the repository at this point in the history
fix(#5382): scroll test
  • Loading branch information
whalley committed Nov 28, 2022
2 parents 1290540 + 9f64eef commit d920bae
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/mmcustomdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ bool mmCustomData::FillCustomFields(wxBoxSizer* box_sizer)
}

scrolled_window->FitInside();
scrolled_window->SetScrollRate(5, 5);
scrolled_window->SetScrollRate(6, 6);
box_sizer_right->Add(scrolled_window, g_flagsExpand);
Model_Checking::Data* refTxn = Model_Checking::instance().get(m_ref_id);
if (refTxn && !refTxn->DELETEDTIME.IsEmpty()) scrolled_window->Disable();
Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingsattachment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void OptionSettingsAttachment::Create()

Fit();
attachment_panel->SetMinSize(attachment_panel->GetBestVirtualSize());
attachment_panel->SetScrollRate(1, 1);
attachment_panel->SetScrollRate(6, 6);
}

void OptionSettingsAttachment::OnAttachmentsButton(wxCommandEvent& WXUNUSED(event))
Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingsgeneral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void OptionSettingsGeneral::Create()

Fit();
general_panel->SetMinSize(general_panel->GetBestVirtualSize());
general_panel->SetScrollRate(1, 1);
general_panel->SetScrollRate(6, 6);
}

void OptionSettingsGeneral::OnDateFormatChanged(wxCommandEvent& /*event*/)
Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingshome.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void OptionSettingsHome::Create()

Fit();
home_panel->SetMinSize(home_panel->GetBestVirtualSize());
home_panel->SetScrollRate(1, 1);
home_panel->SetScrollRate(6, 6);
}


Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingsmisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void OptionSettingsMisc::Create()

Fit();
misc_panel->SetMinSize(misc_panel->GetBestVirtualSize());
misc_panel->SetScrollRate(1, 1);
misc_panel->SetScrollRate(6, 6);
}

void OptionSettingsMisc::OnBackupChanged(wxCommandEvent& WXUNUSED(event))
Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingsnet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void OptionSettingsNet::Create()

Fit();
network_panel->SetMinSize(network_panel->GetBestVirtualSize());
network_panel->SetScrollRate(1, 1);
network_panel->SetScrollRate(6, 6);
}

void OptionSettingsNet::OnProxyChanged(wxCommandEvent& WXUNUSED(event))
Expand Down
2 changes: 1 addition & 1 deletion src/optionsettingsview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void OptionSettingsView::Create()

Fit();
view_panel->SetMinSize(view_panel->GetBestVirtualSize());
view_panel->SetScrollRate(1, 1);
view_panel->SetScrollRate(6, 6);

this->Connect(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(OptionSettingsView::OnNavTreeColorChanged), nullptr, this);
this->Connect(ID_DIALOG_THEMEMANAGER, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(OptionSettingsView::OnThemeManagerSelected), nullptr, this);
Expand Down
2 changes: 1 addition & 1 deletion src/splittransactionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void mmSplitTransactionDialog::CreateControls()
}
slider_->Fit();
slider_->SetMinSize(scrollSize);
slider_->SetScrollRate(1, 1);
slider_->SetScrollRate(6, 6);

wxBoxSizer* bottomSizer = new wxBoxSizer(wxHORIZONTAL);
wxBoxSizer* plusAmountSizer = new wxBoxSizer(wxHORIZONTAL);
Expand Down

0 comments on commit d920bae

Please sign in to comment.