mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-15 10:37:01 +00: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
2 changed files with 1 additions and 4 deletions
|
|
@ -836,9 +836,6 @@ wxPanel* GeneralSettings2::AddAccountPage(wxNotebook* notebook)
|
||||||
|
|
||||||
{
|
{
|
||||||
m_account_information = new wxCollapsiblePane(online_panel, wxID_ANY, _("Account information"));
|
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 win = m_account_information->GetPane();
|
||||||
|
|
||||||
auto content = new wxBoxSizer(wxVERTICAL);
|
auto content = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|
|
||||||
|
|
@ -1861,7 +1861,7 @@ public:
|
||||||
scrolledWindow->SetSizer(m_scrolledSizer);
|
scrolledWindow->SetSizer(m_scrolledSizer);
|
||||||
scrolledWindow->FitInside();
|
scrolledWindow->FitInside();
|
||||||
scrolledWindow->SetScrollRate(25, 25);
|
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);
|
SetSizer(mainSizer);
|
||||||
CentreOnParent();
|
CentreOnParent();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue