On 24 Jun 2014, at 09:36, Nancy Zou <nancy....@csr.com> wrote: > Dear All > My display resolution is 800*480,
Sounds like you are on Android or on some sort of embedded system? So probably the reason is that you cannot have multiple windows: the whole application must be full-screen by design. Of course you can have a red rectangle inside a black one if that’s what you want. > I write a qml like that: > > import QtQuick 2.0 > Rectangle { > width:300 > height: 200 > color: "red" > } > Why it show the whole screen red color. > I think it may be caused by window size. Is it right? > How does qquick scene graph display qml contents to screen? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest