Skip to content

Commit ac554bc

Browse files
committed
style: use Style.margin instead of hardcoding the numbers for spacings, margins, etc.
1 parent 52db1a6 commit ac554bc

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

slot-machine/Panel.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,14 @@ Item {
191191
ColumnLayout {
192192
anchors {
193193
fill: parent
194-
margins: 10
194+
margins: Style.marginM
195195
}
196-
spacing: 10
196+
spacing: Style.marginM
197197

198198
// Header
199199
RowLayout {
200200
Layout.fillWidth: true
201-
Layout.topMargin: 2
201+
Layout.topMargin: Style.marginXS
202202

203203
NIcon {
204204
icon: "brand-mastercard"
@@ -295,7 +295,7 @@ Item {
295295
// Spin tab
296296
ColumnLayout {
297297
anchors.fill: parent
298-
spacing: 6
298+
spacing: Style.marginM
299299
visible: root.activeTab === 0
300300

301301
Rectangle {

slot-machine/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "slot-machine",
33
"name": "Slot Machine",
4-
"version": "1.1.3",
4+
"version": "1.1.4",
55
"minNoctaliaVersion": "3.6.0",
66
"author": "neyfua",
77
"official": false,

0 commit comments

Comments
 (0)