mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
PluginsTab: improved look.
This commit is contained in:
@@ -545,6 +545,21 @@ ColumnLayout {
|
||||
text: modelData.name
|
||||
color: Color.mOnSurface
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
// Description excerpt - visible when not hovered
|
||||
NText {
|
||||
visible: !pluginBox.isHovered && modelData.description
|
||||
text: modelData.description || ""
|
||||
font.pointSize: Style.fontSizeXS
|
||||
color: Color.mOnSurfaceVariant
|
||||
elide: Text.ElideRight
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
// Spacer when hovered or no description
|
||||
Item {
|
||||
visible: pluginBox.isHovered || !modelData.description
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -606,6 +621,18 @@ ColumnLayout {
|
||||
color: Color.mOnSurfaceVariant
|
||||
}
|
||||
|
||||
NText {
|
||||
text: "•"
|
||||
font.pointSize: Style.fontSizeXS
|
||||
color: Color.mOnSurfaceVariant
|
||||
}
|
||||
|
||||
NText {
|
||||
text: modelData.source ? modelData.source.name : ""
|
||||
font.pointSize: Style.fontSizeXS
|
||||
color: Color.mOnSurfaceVariant
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user