Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions qt6/src/qml/FlowStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ QtObject {
}

property D.Palette placeholderText: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.7)
normalDark: Qt.rgba(1, 1, 1, 0.7)
normal: Qt.rgba(0, 0, 0, 0.4)
normalDark: Qt.rgba(1, 1, 1, 0.4)
}
}

Expand All @@ -459,6 +459,11 @@ QtObject {
property int iconLeftMargin: 10
property int iconRightMargin: 7
property int animationDuration: 200

property D.Palette placeholderText: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.7)
normalDark: Qt.rgba(1, 1, 1, 0.7)
}
}

property QtObject ipEdit: QtObject {
Expand Down
1 change: 1 addition & 0 deletions qt6/src/qml/SearchEdit.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import org.deepin.dtk.style 1.0 as DS

LineEdit {
id: control
placeholderTextPalette: DS.Style.searchEdit.placeholderText
property alias placeholder: centerIndicatorLabel.text
property bool editting: control.activeFocus || control.contextMenuVisible || (text.length !== 0)
leftPadding: (editting) ? searchIcon.width + DS.Style.searchEdit.iconLeftMargin
Expand Down