Commit 20cf0ea3 authored by Leander Schulten's avatar Leander Schulten

Modules Editor: Use more common Font. Make font size bigger. Use better values of the font metric

parent c89d21e7
Pipeline #274188 passed with stage
in 13 minutes and 54 seconds
......@@ -347,8 +347,8 @@ Item{
z: 2
property real lineHeight: contentHeight/lineCount "Liberation Mono"
font.pointSize: 10 "Courier"
font.pointSize: 12
tabStopDistance: 16
hoverEnabled: false
......@@ -554,9 +554,9 @@ Item{
model: codeEditorHelper.codeMarkups
x: modelData.column * (textMetrics.width+1)
x: modelData.column * (textMetrics.advanceWidth)
y: modelData.row * height
width: modelData.markupLength * (textMetrics.width+1)
width: modelData.markupLength * (textMetrics.advanceWidth)
height: codeEditor.lineHeight
color: modelData.error ? "red" : "orange"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment