Code Review
/
src
/
qtquickcontrols2-agl-style.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix streched background
[src/qtquickcontrols2-agl-style.git]
/
imports
/
qtquickcontrols2aglstyle
/
ApplicationWindow.qml
diff --git
a/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
b/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
index
6ea9645
..
0bf9cb6
100644
(file)
--- a/
imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
+++ b/
imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
@@
-20,17
+20,16
@@
import QtQuick.Templates 2.0 as T
T.ApplicationWindow {
id: root
T.ApplicationWindow {
id: root
- width: 1080
- height: 1920 - 218 - 215
visible: true
flags: Qt.FramelessWindowHint
font.family: 'Robota'
background: Image {
visible: true
flags: Qt.FramelessWindowHint
font.family: 'Robota'
background: Image {
- anchors.fill: parent
- anchors.topMargin: -218
- anchors.bottomMargin: -215
+ anchors {
+ fill: parent
+ centerIn: parent
+ }
source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
}
}
source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
}
}