Update QtQuick.
Add FileDelegate.
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.4
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Controls.Material 2.4
|
||||
import QtQuick.Controls 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import QtQuick.Controls.Material 2.12
|
||||
|
||||
import Spectral.Setting 0.1
|
||||
|
||||
Label {
|
||||
text: "<b>" + author.displayName + "</b> " + display
|
||||
color: Material.accent
|
||||
color: MPalette.foreground
|
||||
font.pixelSize: 13
|
||||
font.weight: Font.Medium
|
||||
|
||||
topPadding: 8
|
||||
bottomPadding: 8
|
||||
leftPadding: 16
|
||||
rightPadding: 16
|
||||
leftPadding: 24
|
||||
rightPadding: 24
|
||||
|
||||
wrapMode: Label.Wrap
|
||||
linkColor: Material.accent
|
||||
textFormat: MSettings.richText ? Text.RichText : Text.StyledText
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: Material.accent
|
||||
border.width: 2
|
||||
radius: 18
|
||||
color: MPalette.banner
|
||||
radius: 4
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user