cheatsheet add font size setting and macos like shortcut

This commit is contained in:
Madjid Taha
2025-10-25 04:22:01 +02:00
parent 8c125cccb1
commit 533156e0d0
4 changed files with 75 additions and 19 deletions
@@ -11,6 +11,7 @@ Rectangle {
property real extraBottomBorderWidth: 2
property color borderColor: Appearance.colors.colOnLayer0
property real borderRadius: 5
property int pixelSize: Appearance.font.pixelSize.smallie
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
implicitWidth: keyFace.implicitWidth + borderWidth * 2
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
@@ -35,7 +36,7 @@ Rectangle {
id: keyText
anchors.centerIn: parent
font.family: Appearance.font.family.monospace
font.pixelSize: Appearance.font.pixelSize.smaller
font.pixelSize: pixelSize
text: key
}
}