From 7dd7b301e1a5517cc968d40dbe819eeddba90050 Mon Sep 17 00:00:00 2001 From: Ocraftyone Date: Thu, 11 Jan 2024 06:46:04 -0500 Subject: [PATCH] Remove Resizeable Border Helps with previous commit DataView currently doesn't resize vertically Also, at the moment, the resize grabber is not respecting dark mode and this solves that too. --- src/slic3r/GUI/EditGCodeDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/EditGCodeDialog.cpp b/src/slic3r/GUI/EditGCodeDialog.cpp index ab0e68a645..77a4ffbadb 100644 --- a/src/slic3r/GUI/EditGCodeDialog.cpp +++ b/src/slic3r/GUI/EditGCodeDialog.cpp @@ -35,7 +35,7 @@ namespace GUI { //------------------------------------------ EditGCodeDialog::EditGCodeDialog(wxWindow* parent, const std::string& key, const std::string& value) : - DPIDialog(parent, wxID_ANY, format_wxstr(_L("Edit Custom G-code (%1%)"), key), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER) + DPIDialog(parent, wxID_ANY, format_wxstr(_L("Edit Custom G-code (%1%)"), key), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE/* | wxRESIZE_BORDER*/) { SetFont(wxGetApp().normal_font()); SetBackgroundColour(*wxWHITE);