Forums

OverviewV-Play 1 SupportGrid › Reply To: Grid

OverviewV-Play 1 SupportGrid › Reply To: Grid
#4246

Heini

Sorry, here is the code:

import VPlay 1.0
import QtQuick 1.1
GameWindow {
    activeScene: scene
    width: 960
    height: 640

    Scene {
        id: scene
        width: 480
        height: 320
        Image{
            id: background
            anchors.fill: parent
            source: "placesBack-hd.png"
        }
        Grid{
            id: grid
            anchors.centerIn: parent
            rows: 2
            columns: 5
            spacing: 20
            Repeater{
                model: 10
                Image{
                    source: index + ".png"
                    height: 65
                    width: 65
                }
            }
        }
    }
}

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support