status-desktop/ui/imports/shared/status/StatusStickerPackDetails.qml

57 lines
1.4 KiB
QML
Raw Permalink Normal View History

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import StatusQ.Core.Theme 0.1
import utils 1.0
import shared 1.0
import shared.panels 1.0
Item {
id: root
property string packThumb: "QmfZrHmLR5VvkXSDbArDR3TX6j4FgpDcrvNz2fHSJk1VvG"
property string packName: "Status Cat"
property string packAuthor: "cryptoworld1373"
property int packNameFontSize: 15
property int spacing: Theme.padding
height: childrenRect.height
width: parent.width
RoundedImage {
id: imgThumb
anchors.left: parent.left
width: 40
height: 40
source: packThumb
}
2022-02-09 09:43:23 +00:00
Column {
anchors.left: imgThumb.right
anchors.leftMargin: root.spacing
StyledText {
id: txtPackName
text: packName
font.family: Theme.baseFont.name
font.weight: Font.Bold
font.pixelSize: packNameFontSize
}
StyledText {
color: Theme.palette.secondaryText
text: packAuthor
font.family: Theme.baseFont.name
font.pixelSize: 15
}
}
Separator {
anchors.top: imgThumb.bottom
anchors.topMargin: Theme.padding
anchors.left: parent.left
anchors.leftMargin: -Theme.padding
anchors.right: parent.right
anchors.rightMargin: -Theme.padding
}
}