Skip to content

Commit

Permalink
fix(#5382): Adjust scroll rates
Browse files Browse the repository at this point in the history
  • Loading branch information
whalley committed Nov 27, 2022
1 parent b58d5f6 commit 9f64eef
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 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

0 comments on commit 9f64eef

Please sign in to comment.