mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-14 05:52:50 -05:00
fix: Text color in rules viewer
This commit is contained in:
@ -223,24 +223,16 @@ Popup {
|
|||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
QQC.TextArea {
|
TextEdit {
|
||||||
id: ruleContentArea
|
id: ruleContentArea
|
||||||
|
|
||||||
readOnly: true
|
readOnly: true
|
||||||
wrapMode: TextArea.Wrap
|
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
selectionColor: palette.highlight
|
||||||
color: palette.text
|
color: palette.text
|
||||||
font.family: "monospace"
|
font.family: "monospace"
|
||||||
font.pixelSize: 11
|
font.pixelSize: 11
|
||||||
|
|
||||||
background: Rectangle {
|
|
||||||
color: Qt.darker(palette.base, 1.02)
|
|
||||||
border.color: palette.mid
|
|
||||||
border.width: 1
|
|
||||||
radius: 2
|
|
||||||
}
|
|
||||||
|
|
||||||
placeholderText: qsTr("Select a rule file to view its content")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user