Widgets: renamed SizeMultiplier => SizeRatio. Enforced read-only on size property

This commit is contained in:
LemmyCook 2025-08-25 22:43:02 -04:00
parent 269b2765cd
commit 1ab3463e6d
16 changed files with 27 additions and 23 deletions

View file

@ -211,7 +211,7 @@ Variants {
NIconButton {
icon: "close"
tooltipText: "Close"
sizeMultiplier: 0.8
sizeRatio: 0.8
anchors.top: parent.top
anchors.right: parent.right
anchors.margins: Style.marginS * scaling

View file

@ -46,14 +46,14 @@ NPanel {
NIconButton {
icon: "delete"
tooltipText: "Clear History"
sizeMultiplier: 0.8
sizeRatio: 0.8
onClicked: NotificationService.clearHistory()
}
NIconButton {
icon: "close"
tooltipText: "Close"
sizeMultiplier: 0.8
sizeRatio: 0.8
onClicked: {
root.close()
}
@ -159,7 +159,7 @@ NPanel {
NIconButton {
icon: "delete"
tooltipText: "Delete Notification"
sizeMultiplier: 0.7
sizeRatio: 0.7
onClicked: {
Logger.log("NotificationHistory", "Removing notification:", summary)