UI: Fix some minor ui issues

- Fixes the about window having padding to the right of the scrollbar
- Fixes the account information collapser widget from always having a white background
This commit is contained in:
Crementif 2025-07-08 02:22:30 +02:00
parent e60f1666bd
commit 4f6f960460
2 changed files with 1 additions and 4 deletions

View file

@ -836,9 +836,6 @@ wxPanel* GeneralSettings2::AddAccountPage(wxNotebook* notebook)
{
m_account_information = new wxCollapsiblePane(online_panel, wxID_ANY, _("Account information"));
#if BOOST_OS_WINDOWS
m_account_information->GetControlWidget()->SetBackgroundColour(*wxWHITE);
#endif
auto win = m_account_information->GetPane();
auto content = new wxBoxSizer(wxVERTICAL);

View file

@ -1861,7 +1861,7 @@ public:
scrolledWindow->SetSizer(m_scrolledSizer);
scrolledWindow->FitInside();
scrolledWindow->SetScrollRate(25, 25);
mainSizer->Add(scrolledWindow, wxSizerFlags(1).Expand().Border(wxLEFT | wxRIGHT, 10));
mainSizer->Add(scrolledWindow, wxSizerFlags(1).Expand().Border(wxLEFT, 10));
SetSizer(mainSizer);
CentreOnParent();