mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: background color of title labels in sidebar
Change-Id: If71fdca36518129cdfdd1cdf939fb62592ec56c1
This commit is contained in:
parent
21d13646d8
commit
43cd7c8315
6 changed files with 12 additions and 23 deletions
|
@ -63,12 +63,11 @@ wxSize Label::split_lines(wxDC &dc, int width, const wxString &text, wxString &m
|
|||
return dc.GetMultiLineTextExtent(multiline_text);
|
||||
}
|
||||
|
||||
Label::Label(wxString const &text, wxWindow *parent) : Label(Body_16, text, parent) {}
|
||||
Label::Label(wxWindow *parent, wxString const &text) : Label(parent, Body_14, text) {}
|
||||
|
||||
Label::Label(wxFont const &font, wxWindow *parent) : Label(font, "", parent) {}
|
||||
|
||||
Label::Label(wxFont const &font, wxString const &text, wxWindow *parent) : wxStaticText(parent, wxID_ANY, text, wxDefaultPosition, wxDefaultSize, 0)
|
||||
Label::Label(wxWindow *parent, wxFont const &font, wxString const &text)
|
||||
: wxStaticText(parent, wxID_ANY, text, wxDefaultPosition, wxDefaultSize, 0)
|
||||
{
|
||||
SetBackgroundColour(StaticBox::GetParentBackgroundColor(parent));
|
||||
SetFont(font);
|
||||
SetBackgroundColour(StaticBox::GetParentBackgroundColor(parent));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue