FIX: ui style of base widgets

Change-Id: Ie0cff84d7a6f19c9830ce60f2a188fe9a7df545c
This commit is contained in:
chunmao.guo 2022-08-01 18:00:28 +08:00 committed by Lane.Wei
parent 5f4f859337
commit a478abd88a
8 changed files with 43 additions and 14 deletions

View file

@ -44,6 +44,8 @@ ComboBox::ComboBox(wxWindow * parent,
TextInput::SetBackgroundColor(StateColor(std::make_pair(0xF0F0F0, (int) StateColor::Disabled),
std::make_pair(0xEDFAF2, (int) StateColor::Focused),
std::make_pair(*wxWHITE, (int) StateColor::Normal)));
TextInput::SetLabelColor(StateColor(std::make_pair(0x909090, (int) StateColor::Disabled),
std::make_pair(0x262E30, (int) StateColor::Normal)));
} else {
GetTextCtrl()->Bind(wxEVT_KEY_DOWN, &ComboBox::keyDown, this);
}