
Today I work on a small QML & C++ Project with some problems that I still didn't fix yet :)
import QtQuick 2.15import QtQuick.Controls 2.12import QtQuick.LayoutsApplicationWindow{id: appWindowproperty int margin: 11title: "Basic Layout"visible: truewidth: 500height: 500}
ps: the thing was casing the problem is
import QtQuick.LayoutsminimumWidth: mainLayout.Layout.minimumWidth + 2 * marginminimumHeight: mainLayout.Layout.minimumHeight + 2 * margin

0 Comments
Post a Comment