mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
Simplify FileTag component
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
791eb87afc
commit
a3fc467cf0
1 changed files with 11 additions and 14 deletions
|
@ -17,20 +17,17 @@ import QtQuick 2.15
|
|||
import Style 1.0
|
||||
import "../tray"
|
||||
|
||||
Rectangle {
|
||||
property alias text: internalLabel.text
|
||||
EnforcedPlainTextLabel {
|
||||
id: internalLabel
|
||||
|
||||
border.color: Style.lightHover
|
||||
border.width: Style.normalBorderWidth
|
||||
|
||||
radius: Style.veryRoundedButtonRadius
|
||||
|
||||
EnforcedPlainTextLabel {
|
||||
id: internalLabel
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
color: Style.ncSecondaryTextColor
|
||||
elide: Text.ElideRight
|
||||
background: Rectangle {
|
||||
border.color: Style.lightHover
|
||||
border.width: Style.normalBorderWidth
|
||||
radius: Style.veryRoundedButtonRadius
|
||||
color: "transparent"
|
||||
}
|
||||
|
||||
color: Style.ncSecondaryTextColor
|
||||
elide: Text.ElideRight
|
||||
padding: Style.smallSpacing
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue