diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/scenegraph/openglunderqml/main.cpp | 1 | ||||
-rw-r--r-- | examples/quick/views/listview/highlightranges.qml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/openglunderqml/main.cpp b/examples/quick/scenegraph/openglunderqml/main.cpp index dadaec8d8c..91d558dde7 100644 --- a/examples/quick/scenegraph/openglunderqml/main.cpp +++ b/examples/quick/scenegraph/openglunderqml/main.cpp @@ -53,6 +53,7 @@ int main(int argc, char **argv) qmlRegisterType<Squircle>("OpenGLUnderQML", 1, 0, "Squircle"); QQuickView view; + view.setResizeMode(QQuickView::SizeRootObjectToView); view.setSource(QUrl("qrc:///scenegraph/openglunderqml/main.qml")); view.show(); diff --git a/examples/quick/views/listview/highlightranges.qml b/examples/quick/views/listview/highlightranges.qml index 6c4190dada..8b4eed7400 100644 --- a/examples/quick/views/listview/highlightranges.qml +++ b/examples/quick/views/listview/highlightranges.qml @@ -89,7 +89,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // |