Solved Creating a window fit for the all space of the screen
-
Hi guys,
Here is a simple window in QML. It occupies only a space with 800 pixels as the width and 600 as height:
import QtQuick 2.9 import QtQuick.Window 2.2 Window { visible: true width: 800; height: 600 color: "gray" // ... }
How to make it fit the whole screen of the target device, please? That is, it occupies the whole display screen.
-
-
@tomy Hi, friend.
You can also to use Screen QML Type
like
Window{ width:Screen.width; height:Screen.height; }
-