Use fixed width font and no wrapping in start/end gcode editor

This commit is contained in:
fieldOfView 2016-11-09 11:44:38 +01:00
parent 497b6f99a4
commit edf4589150

View File

@ -311,6 +311,8 @@ Cura.MachineAction
id: machineStartGcodeField id: machineStartGcodeField
width: parent.width width: parent.width
height: parent.height - y height: parent.height - y
font: UM.Theme.getFont("fixed")
wrapMode: TextEdit.NoWrap
text: machineStartGcodeProvider.properties.value text: machineStartGcodeProvider.properties.value
onActiveFocusChanged: onActiveFocusChanged:
{ {
@ -333,6 +335,8 @@ Cura.MachineAction
id: machineEndGcodeField id: machineEndGcodeField
width: parent.width width: parent.width
height: parent.height - y height: parent.height - y
font: UM.Theme.getFont("fixed")
wrapMode: TextEdit.NoWrap
text: machineEndGcodeProvider.properties.value text: machineEndGcodeProvider.properties.value
onActiveFocusChanged: onActiveFocusChanged:
{ {