diff options
Diffstat (limited to 'src/gui/tray/NCButtonContents.qml')
-rw-r--r-- | src/gui/tray/NCButtonContents.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/tray/NCButtonContents.qml b/src/gui/tray/NCButtonContents.qml index 806cc0843..1e6231efd 100644 --- a/src/gui/tray/NCButtonContents.qml +++ b/src/gui/tray/NCButtonContents.qml @@ -28,7 +28,7 @@ RowLayout { property color textColor: Style.ncTextColor property color textColorHovered: textColor - property bool bold: false + property alias font: buttonLabel.font Image { id: icon @@ -40,6 +40,8 @@ RowLayout { } Label { + id: buttonLabel + Layout.maximumWidth: icon.width > 0 ? parent.width - icon.width - parent.spacing : parent.width Layout.fillWidth: icon.status !== Image.Ready |