Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
rabauke committed Jan 18, 2024
1 parent e8c9044 commit 4530ddc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions qml/cover/CoverPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import Sailfish.Silica 1.0
CoverBackground {

function basename(str) {
return str.slice(str.lastIndexOf("/")+1)
return str.slice(str.lastIndexOf('/') + 1)
}

Image {
source: "/usr/share/harbour-sailbabel/images/cover_background.png"
x: 0; y: parent.height-parent.width-Theme.paddingLarge; z: -1
source: '/usr/share/harbour-sailbabel/images/cover_background.png'
x: 0
y: parent.height - parent.width - Theme.paddingLarge
z: -1
opacity: 0.125
width: parent.width
height: parent.width
Expand All @@ -22,13 +24,13 @@ CoverBackground {
left: parent.left
right: parent.right
topMargin: Theme.paddingLarge
bottomMargin: 1.25*Theme.paddingLarge
bottomMargin: 1.25 * Theme.paddingLarge
leftMargin: Theme.paddingLarge
rightMargin: Theme.paddingLarge
}
Text {
id: title
text: "SailBabel"
text: 'SailBabel'
color: Theme.highlightColor
font.pixelSize: Theme.fontSizeMedium
wrapMode: Text.Wrap
Expand All @@ -45,5 +47,4 @@ CoverBackground {
horizontalAlignment: Text.AlignHCenter
}
}

}

0 comments on commit 4530ddc

Please sign in to comment.