Qt Quick templates: move visible assignment after width and height

This is more common; visible and enabled are usually after size-related
bindings.

Change-Id: I2148491d8a8fdbf4f7bc2b261bd6472bae697969
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Mitch Curtis
2020-03-20 13:02:34 +01:00
parent 99a81e78d5
commit e96b00bfb4
5 changed files with 5 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ import QtQuick %{QtQuickVersion}
import QtQuick.Window %{QtQuickWindowVersion}
Window {
title: qsTr("Hello World")
width: 640
height: 480
visible: true
title: qsTr("Hello World")
}

View File

@@ -8,9 +8,9 @@ Window {
@if %{UseVirtualKeyboard}
id: window
@endif
visible: true
width: 640
height: 480
visible: true
title: qsTr("Hello World")
@if %{UseVirtualKeyboard}

View File

@@ -8,9 +8,9 @@ ApplicationWindow {
@if %{UseVirtualKeyboard}
id: window
@endif
visible: true
width: 640
height: 480
visible: true
title: qsTr("Scroll")
ScrollView {

View File

@@ -6,9 +6,9 @@ import %{QtQuickVirtualKeyboardImport}
ApplicationWindow {
id: window
visible: true
width: 640
height: 480
visible: true
title: qsTr("Stack")
header: ToolBar {

View File

@@ -8,9 +8,9 @@ ApplicationWindow {
@if %{UseVirtualKeyboard}
id: window
@endif
visible: true
width: 640
height: 480
visible: true
title: qsTr("Tabs")
SwipeView {