mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
ENH:wxStaticText set the default foreground colour
Change-Id: Ifb03554848bc869f8605fb10945e7681147204d5
This commit is contained in:
parent
64a635608c
commit
4d8d4cb69c
13 changed files with 29 additions and 0 deletions
|
@ -382,6 +382,7 @@ wxString AMSSetting::append_title(wxString text)
|
|||
{
|
||||
wxString lab;
|
||||
auto * widget = new wxStaticText(m_panel_body, wxID_ANY, text, wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
|
||||
widget->SetForegroundColour(*wxBLACK);
|
||||
widget->Wrap(AMS_SETTING_BODY_WIDTH);
|
||||
widget->SetMinSize(wxSize(AMS_SETTING_BODY_WIDTH, -1));
|
||||
lab = widget->GetLabel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue