forked from Shinonome/dots-hyprland
31 lines
779 B
QML
31 lines
779 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
|
|
TextField {
|
|
id: filterField
|
|
|
|
property alias colBackground: background.color
|
|
|
|
Layout.fillHeight: true
|
|
Layout.topMargin: 2
|
|
Layout.bottomMargin: 2
|
|
implicitWidth: 200
|
|
padding: 10
|
|
|
|
placeholderTextColor: Appearance.colors.colSubtext
|
|
color: Appearance.colors.colOnLayer1
|
|
font.pixelSize: Appearance.font.pixelSize.small
|
|
renderType: Text.NativeRendering
|
|
selectedTextColor: Appearance.colors.colOnSecondaryContainer
|
|
selectionColor: Appearance.colors.colSecondaryContainer
|
|
|
|
background: Rectangle {
|
|
id: background
|
|
color: Appearance.colors.colLayer1
|
|
radius: Appearance.rounding.full
|
|
}
|
|
}
|