diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-04-07 10:56:05 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-04-07 10:56:05 +0800 |
commit | 38287d3fbfbd126a94d1e4f58c4c62836a2516ff (patch) | |
tree | 2a8635237e98c0faed1a6e82afd25f2baba2575d /contents/ui | |
parent | 706572850b09257fc2d39f842dfb3850b8857da8 (diff) |
Add Mark important button
Diffstat (limited to 'contents/ui')
-rw-r--r-- | contents/ui/AnnouncementView.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contents/ui/AnnouncementView.qml b/contents/ui/AnnouncementView.qml index e178482..95caf9e 100644 --- a/contents/ui/AnnouncementView.qml +++ b/contents/ui/AnnouncementView.qml @@ -49,6 +49,14 @@ RowLayout { } PlasmaComponents3.ToolButton { + icon.name: "emblem-important-symbolic" + onClicked: () => { + announcementLabel.font.bold = true + announcementLabel.color = PlasmaCore.Theme.negativeTextColor + } + } + + PlasmaComponents3.ToolButton { icon.name: "delete" onClicked: () => { // avoid non-fatal TypeError due to announcementView.parent=null but .width=parent.width |