Skip to content

Commit

Permalink
Minor UI fix to the "Welcome Page"
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Oct 23, 2024
1 parent 5270c59 commit 2a2056f
Show file tree
Hide file tree
Showing 5 changed files with 621 additions and 794 deletions.
8 changes: 0 additions & 8 deletions LiteEditor/WelcomePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ WelcomePage::WelcomePage(wxWindow* parent)

wxColour bg_colour, text_colour;
get_caption_colours(&bg_colour, &text_colour);

m_panelList->SetBackgroundColour(bg_colour);
m_panelList->SetForegroundColour(text_colour);
m_staticText0->SetForegroundColour(text_colour);
}

WelcomePage::~WelcomePage()
Expand All @@ -140,10 +136,6 @@ void WelcomePage::OnThemeChanged(clCommandEvent& e)
wxColour bg_colour, text_colour;
get_caption_colours(&bg_colour, &text_colour);

m_panelList->SetBackgroundColour(bg_colour);
m_panelList->SetForegroundColour(text_colour);
m_staticText0->SetForegroundColour(text_colour);

#ifndef __WXMAC__
SetBackgroundColour(clSystemSettings::GetDefaultPanelColour());
GetMainPanel()->SetBackgroundColour(clSystemSettings::GetDefaultPanelColour());
Expand Down
Loading

0 comments on commit 2a2056f

Please sign in to comment.