mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-02 19:07:44 -06:00
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:
parent
e60f1666bd
commit
4f6f960460
@ -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);
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user