Commit cf311516 authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Enhance splashscreen appearance

parent 100744b4
......@@ -22,9 +22,6 @@ Window {
}
Component.onDestruction: { Qt.quit (); }
WindowIconHelper {
iconPath: ":/vcan_testbench_logo.svg";
}
Item {
states: State {
when: (Style !== null);
......@@ -41,20 +38,23 @@ Window {
}
}
}
WindowIconHelper {
iconPath: "qrc:///vcan_testbench_logo.svg";
}
Loader {
id: loader;
source: "ui_testBench.qml";
active: false;
asynchronous: false;
source: "ui_testBench.qml";
anchors.fill: parent;
}
Rectangle {
id: splash;
color: Style.colorWindow;
color: Style.colorSecondary;
anchors.fill: parent;
Column {
spacing: (Style.spacingBig * 2);
spacing: (Style.spacingBig * 3);
anchors.centerIn: parent;
Image {
......@@ -71,7 +71,9 @@ Window {
color: Style.colorNone;
}
}
Line { implicitWidth: (lbl.width * 1.35); }
TextLabel {
id: lbl;
text: title;
font.pixelSize: (Style.fontSizeTitle * 3);
anchors.horizontalCenter: parent.horizontalCenter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment