mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-05 09:07:39 +00:00
Make AMS trays read-only in laser mode and add the gradient fill helper
This commit is contained in:
@@ -86,7 +86,7 @@ FilamentItemPanel::FilamentItemPanel(wxWindow* parent, const wxString& text, con
|
||||
: wxPanel(parent, id)
|
||||
, m_icon_name(icon_name)
|
||||
{
|
||||
SetBackgroundColour(wxColour("#F0F0F1")); // Light gray background
|
||||
SetBackgroundColour(wxColour("#F0F0F1")); // Orca: light-gray panel scheme (#F0F0F1 replaces REF #F7F7F7)
|
||||
SetMinSize(wxSize(FromDIP(64), FromDIP(106))); // Width: 64, Height: 106
|
||||
SetSize(wxSize(FromDIP(64), FromDIP(106))); // Fixed size
|
||||
|
||||
@@ -977,7 +977,7 @@ void AMSDryCtrWin::create()
|
||||
// set title icon
|
||||
SetBackgroundColour(StateColor::darkModeColorFor(*wxWHITE));
|
||||
this->SetDoubleBuffered(true);
|
||||
std::string icon_path = (boost::format("%1%/images/OrcaSlicerTitle.ico") % resources_dir()).str();
|
||||
std::string icon_path = (boost::format("%1%/images/OrcaSlicerTitle.ico") % resources_dir()).str(); // Orca: app title icon
|
||||
SetIcon(wxIcon(encode_path(icon_path.c_str()), wxBITMAP_TYPE_ICO));
|
||||
|
||||
SetSize(wxSize(FromDIP(700), FromDIP(500)));
|
||||
|
||||
Reference in New Issue
Block a user