forked from Shinonome/dots-hyprland
replace background empty item with null
This commit is contained in:
@@ -111,7 +111,7 @@ Scope { // Scope
|
|||||||
cheatsheetRoot.hide()
|
cheatsheetRoot.hide()
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
contentItem: Rectangle {
|
contentItem: Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: Appearance.rounding.full
|
radius: Appearance.rounding.full
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Button {
|
|||||||
implicitHeight: columnLayout.implicitHeight
|
implicitHeight: columnLayout.implicitHeight
|
||||||
implicitWidth: columnLayout.implicitWidth
|
implicitWidth: columnLayout.implicitWidth
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
PointingHandInteraction {}
|
PointingHandInteraction {}
|
||||||
|
|
||||||
// Real stuff
|
// Real stuff
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ ToolTip {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
|
|
||||||
contentItem: Item {
|
contentItem: Item {
|
||||||
id: contentItemBackground
|
id: contentItemBackground
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ Item { // Wrapper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
|
|
||||||
cursorDelegate: Rectangle {
|
cursorDelegate: Rectangle {
|
||||||
width: 1
|
width: 1
|
||||||
|
|||||||
@@ -383,7 +383,7 @@ int main(int argc, char* argv[]) {
|
|||||||
placeholderText: StringUtils.format(qsTr('Message the model... "{0}" for commands'), root.commandPrefix)
|
placeholderText: StringUtils.format(qsTr('Message the model... "{0}" for commands'), root.commandPrefix)
|
||||||
placeholderTextColor: Appearance.m3colors.m3outline
|
placeholderTextColor: Appearance.m3colors.m3outline
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
|
|
||||||
onTextChanged: { // Handle suggestions
|
onTextChanged: { // Handle suggestions
|
||||||
if(messageInputField.text.length === 0) {
|
if(messageInputField.text.length === 0) {
|
||||||
|
|||||||
@@ -419,7 +419,7 @@ Item {
|
|||||||
placeholderText: StringUtils.format(qsTr('Enter tags, or "{0}" for commands'), root.commandPrefix)
|
placeholderText: StringUtils.format(qsTr('Enter tags, or "{0}" for commands'), root.commandPrefix)
|
||||||
placeholderTextColor: Appearance.m3colors.m3outline
|
placeholderTextColor: Appearance.m3colors.m3outline
|
||||||
|
|
||||||
background: Item {}
|
background: null
|
||||||
|
|
||||||
property Timer searchTimer: Timer { // Timer for tag suggestions
|
property Timer searchTimer: Timer { // Timer for tag suggestions
|
||||||
interval: root.tagSuggestionDelay
|
interval: root.tagSuggestionDelay
|
||||||
|
|||||||
Reference in New Issue
Block a user