File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import QtQuick.Layouts 1.15
77import QtQuick.Controls 2.15
88import org.deepin.dtk 1.0
99import org.deepin.ds 1.0
10+ import org.deepin.dtk.style 1.0 as DStyle
1011
1112import org.deepin.launchpad 1.0
1213import org.deepin.launchpad.models 1.0
@@ -51,17 +52,11 @@ Control {
5152 contentItem: SearchEdit {
5253 id: searchEdit
5354 padding: 1
54- property Palette iconPalette: Palette {
55- normal {
56- crystal: Qt .rgba (0 , 0 , 0 , 1 )
57- }
58- normalDark {
59- crystal: Qt .rgba (1 , 1 , 1 , 1 )
60- }
61- }
6255 placeholder: qsTr (" Search" )
63- placeholderTextColor: palette .brightText
64- palette .windowText : ColorSelector .iconPalette
56+ property Palette textColor: DStyle .Style .button .text
57+ placeholderTextColor: ColorSelector .textColor
58+ palette .windowText : ColorSelector .textColor
59+ ColorSelector .pressed : false
6560
6661 onTextChanged: {
6762 console .log (text)
You can’t perform that action at this time.
0 commit comments