From a5aa9ffab8a0f65c26ab46508e7e04d85af9e89f Mon Sep 17 00:00:00 2001 From: supermerill Date: Wed, 8 Dec 2021 13:07:30 +0100 Subject: multi-line for milling custom gcode fields supermerill/SuperSlicer#2027 --- src/libslic3r/PrintConfig.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 2c9dd7e57..e67320a34 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -4980,6 +4980,9 @@ void PrintConfigDef::init_milling_params() " next_extruder is the 'extruder number' of the new milling tool, it's equal to the index (begining at 0) of the milling tool plus the number of extruders." " previous_extruder is the 'extruder number' of the previous tool, it may be a normal extruder, if it's below the number of extruders." " The number of extruder is available at [extruder] and the number of milling tool is available at [milling_cutter]."); + def->multiline = true; + def->full_width = true; + def->height = 12; def->mode = comAdvanced; def->is_vector_extruder = true; def->set_default_value(new ConfigOptionStrings("")); @@ -4991,6 +4994,9 @@ void PrintConfigDef::init_milling_params() " previous_extruder is the 'extruder number' of the current milling tool, it's equal to the index (begining at 0) of the milling tool plus the number of extruders." " next_extruder is the 'extruder number' of the next tool, it may be a normal extruder, if it's below the number of extruders." " The number of extruder is available at [extruder]and the number of milling tool is available at [milling_cutter]."); + def->multiline = true; + def->full_width = true; + def->height = 12; def->mode = comAdvanced; def->is_vector_extruder = true; def->set_default_value(new ConfigOptionStrings("")); -- cgit v1.2.3