PluginsTab: improved look.

This commit is contained in:
Lemmy
2025-12-21 22:59:00 -05:00
parent fc673a4148
commit c9548b7d31
@@ -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
}