qml: fixes TextHighlightPane

This commit is contained in:
Sander van Grieken
2023-02-09 01:13:05 +01:00
parent 72d750c51c
commit 1e60cb740f
15 changed files with 93 additions and 84 deletions
@@ -4,13 +4,14 @@ import QtQuick.Controls 2.0
import QtQuick.Controls.Material 2.0
Pane {
topPadding: constants.paddingSmall
bottomPadding: constants.paddingSmall
leftPadding: constants.paddingSmall
rightPadding: constants.paddingSmall
padding: constants.paddingSmall
property color backgroundColor: Qt.lighter(Material.background, 1.15)
property color borderColor: null
background: Rectangle {
color: Qt.lighter(Material.background, 1.15)
color: backgroundColor
border.color: borderColor ? borderColor : backgroundColor
radius: constants.paddingSmall
}
}