Skip to content

Commit

Permalink
fix: the launcher application folder title
Browse files Browse the repository at this point in the history
Modify the color and position of the launcher application folder title

Issue: linuxdeepin/developer-center#9446
  • Loading branch information
xionglinlin authored and deepin-bot[bot] committed Jul 5, 2024
1 parent 5112d8f commit 8026a3f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions qml/FolderGridViewPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,18 @@ Popup {

Item {
visible: !isWindowedMode
Layout.preferredHeight: 5
Layout.preferredHeight: 15
}

property Palette titleTextColor: Palette {
normal {
common: Qt.rgba(0, 0, 0, 1)
crystal: Qt.rgba(0, 0, 0, 1)
}
normalDark {
common: Qt.rgba(1, 1, 1, 1)
crystal: Qt.rgba(1, 1, 1, 1)
}
}

TextInput {
Expand Down Expand Up @@ -108,7 +119,7 @@ Popup {
font: folderNameFont
horizontalAlignment: Text.AlignHCenter
text: folderLoader.folderName
color: palette.windowText
color: contentRoot.ColorSelector.titleTextColor
visible: !contentRoot.nameEditing
elide: Text.ElideRight
ToolTip.visible: folderNameTextMouseArea.containsMouse ? implicitWidth > width : false
Expand Down

0 comments on commit 8026a3f

Please sign in to comment.