cheatsheet: make more compact

This commit is contained in:
end-4
2025-11-03 21:28:35 +01:00
parent 5d773090eb
commit 3ae87c8a67
@@ -75,7 +75,7 @@ Scope { // Scope
border.width: 1 border.width: 1
border.color: Appearance.colors.colLayer0Border border.color: Appearance.colors.colLayer0Border
radius: Appearance.rounding.windowRounding radius: Appearance.rounding.windowRounding
property real padding: 30 property real padding: 20
implicitWidth: cheatsheetColumnLayout.implicitWidth + padding * 2 implicitWidth: cheatsheetColumnLayout.implicitWidth + padding * 2
implicitHeight: cheatsheetColumnLayout.implicitHeight + padding * 2 implicitHeight: cheatsheetColumnLayout.implicitHeight + padding * 2
@@ -128,18 +128,7 @@ Scope { // Scope
ColumnLayout { // Real content ColumnLayout { // Real content
id: cheatsheetColumnLayout id: cheatsheetColumnLayout
anchors.centerIn: parent anchors.centerIn: parent
spacing: 20 spacing: 10
StyledText {
id: cheatsheetTitle
Layout.alignment: Qt.AlignHCenter
font {
family: Appearance.font.family.title
pixelSize: Appearance.font.pixelSize.title
variableAxes: Appearance.font.variableAxes.title
}
text: Translation.tr("Cheat sheet")
}
Toolbar { Toolbar {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter