FIX:fixed the length of the progress bar is incorrect

Change-Id: I56f0bd70a5bdd523d5b4c08038ebffc7468ea2c0
This commit is contained in:
tao wang 2023-04-06 16:16:51 +08:00 committed by Lane.Wei
parent 94d50a1177
commit e25dd0ca01
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ BBLStatusBarSend::BBLStatusBarSend(wxWindow *parent, int id)
m_status_text->SetMaxSize(wxSize(m_self->FromDIP(300), m_self->FromDIP(46)));
m_prog = new wxGauge(m_self, wxID_ANY, 100, wxDefaultPosition, wxSize(-1, m_self->FromDIP(6)), wxGA_HORIZONTAL);
m_prog->SetMinSize(wxSize(m_self->FromDIP(300),m_self->FromDIP(6)));
m_prog->SetValue(0);
StateColor btn_bd_white(std::pair<wxColour, int>(*wxWHITE, StateColor::Disabled), std::pair<wxColour, int>(wxColour(38, 46, 48), StateColor::Enabled));