mirror of https://github.com/qt/qtdatavis3d.git
qmlscatter example: Give a default size to the view item
On OS X the content item of the view must have a valid width or height. Change-Id: I6903671a9bd39511a4d0d649819b68930597260d Task-number: QTRD-3469 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
This commit is contained in:
parent
0e9d60eee9
commit
0a18b2fffc
|
|
@ -27,6 +27,8 @@ import "."
|
|||
Rectangle {
|
||||
id: mainView
|
||||
//! [1]
|
||||
width: 500
|
||||
height: 500
|
||||
|
||||
//! [4]
|
||||
Data {
|
||||
|
|
|
|||
Loading…
Reference in New Issue