diff options
author | Bramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com> | 2019-01-31 11:33:59 +0100 |
---|---|---|
committer | Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> | 2019-01-31 10:50:13 +0000 |
commit | cce4f1d200f153a407f886f00f1827c5d432b73b (patch) | |
tree | 9c21ee4727ea67b0ce9c65a5da74685030ef99e6 | |
parent | ad10c0cf83835afab7faeae92b565cf2463ae80b (diff) |
[downloads] fixed the alignments and moved the asset to the app folder
Change-Id: I17e63c3ba2ade6979d45843e11fdd37a19b05861
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
-rw-r--r-- | apps/com.pelagicore.downloads/Main.qml | 10 | ||||
-rw-r--r-- | apps/com.pelagicore.downloads/assets/hero-appstore.png (renamed from styles/lucee/images/hero-appstore.png) | 0 | ||||
-rw-r--r-- | apps/com.pelagicore.downloads/assets/hero-appstore.txt (renamed from styles/lucee/images/hero-appstore.txt) | 0 | ||||
-rw-r--r-- | styles/neptune/images/hero-appstore.png | 3 | ||||
-rw-r--r-- | styles/neptune/images/hero-appstore.txt | 1 |
5 files changed, 4 insertions, 10 deletions
diff --git a/apps/com.pelagicore.downloads/Main.qml b/apps/com.pelagicore.downloads/Main.qml index ac1e580c..ec42e4d7 100644 --- a/apps/com.pelagicore.downloads/Main.qml +++ b/apps/com.pelagicore.downloads/Main.qml @@ -32,9 +32,8 @@ import QtQuick 2.8 import application.windows 1.0 -import shared.Style 1.0 import shared.utils 1.0 -import shared.animations 1.0 +import shared.Sizes 1.0 import QtQuick.Controls 2.2 import "views" 1.0 import "stores" 1.0 @@ -43,14 +42,13 @@ ApplicationCCWindow { id: root Image { - id: topImage - x: root.exposedRect.x y: 0 width: root.exposedRect.width - fillMode: Image.PreserveAspectFit + height: Sizes.dp(436) + exposedRect.y + fillMode: Image.Pad - source: Style.image("hero-appstore") + source: "assets/hero-appstore.png" asynchronous: true } diff --git a/styles/lucee/images/hero-appstore.png b/apps/com.pelagicore.downloads/assets/hero-appstore.png index 59ed56ec..59ed56ec 100644 --- a/styles/lucee/images/hero-appstore.png +++ b/apps/com.pelagicore.downloads/assets/hero-appstore.png diff --git a/styles/lucee/images/hero-appstore.txt b/apps/com.pelagicore.downloads/assets/hero-appstore.txt index 06ed0048..06ed0048 100644 --- a/styles/lucee/images/hero-appstore.txt +++ b/apps/com.pelagicore.downloads/assets/hero-appstore.txt diff --git a/styles/neptune/images/hero-appstore.png b/styles/neptune/images/hero-appstore.png deleted file mode 100644 index 59ed56ec..00000000 --- a/styles/neptune/images/hero-appstore.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc27cffce6b3653aaf92c639171e451755a1433a99a4677d146688358c9a9589 -size 1209887 diff --git a/styles/neptune/images/hero-appstore.txt b/styles/neptune/images/hero-appstore.txt deleted file mode 100644 index 06ed0048..00000000 --- a/styles/neptune/images/hero-appstore.txt +++ /dev/null @@ -1 +0,0 @@ -Photo contributed by Luxoft |