replace background empty item with null

This commit is contained in:
end-4 2025-05-16 23:52:44 +02:00
parent 84f28f6411
commit 18f6f2ee9a
6 changed files with 6 additions and 6 deletions

View file

@ -111,7 +111,7 @@ Scope { // Scope
cheatsheetRoot.hide()
}
background: Item {}
background: null
contentItem: Rectangle {
anchors.fill: parent
radius: Appearance.rounding.full

View file

@ -16,7 +16,7 @@ Button {
implicitHeight: columnLayout.implicitHeight
implicitWidth: columnLayout.implicitWidth
background: Item {}
background: null
PointingHandInteraction {}
// Real stuff

View file

@ -26,7 +26,7 @@ ToolTip {
}
}
background: Item {}
background: null
contentItem: Item {
id: contentItemBackground

View file

@ -227,7 +227,7 @@ Item { // Wrapper
}
}
background: Item {}
background: null
cursorDelegate: Rectangle {
width: 1

View file

@ -383,7 +383,7 @@ int main(int argc, char* argv[]) {
placeholderText: StringUtils.format(qsTr('Message the model... "{0}" for commands'), root.commandPrefix)
placeholderTextColor: Appearance.m3colors.m3outline
background: Item {}
background: null
onTextChanged: { // Handle suggestions
if(messageInputField.text.length === 0) {

View file

@ -419,7 +419,7 @@ Item {
placeholderText: StringUtils.format(qsTr('Enter tags, or "{0}" for commands'), root.commandPrefix)
placeholderTextColor: Appearance.m3colors.m3outline
background: Item {}
background: null
property Timer searchTimer: Timer { // Timer for tag suggestions
interval: root.tagSuggestionDelay