qml: fixes TextHighlightPane
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user