Commit 4fdbb9a6 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

WelcomePage: reducing size of view

Otherwise we might get an unnecessary scrollbar.

Change-Id: I12ab2288a02f32f542420b0e979c24aeaa00522d
Reviewed-on: http://codereview.qt-project.org/6063

Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 0f62ea25
......@@ -36,7 +36,7 @@ GridView {
interactive: false
width: scrollArea.width
property int columns: Math.max(Math.floor(width / cellWidth), 1)
height: 400 * (count - columns) / columns + 800
height: 400 * Math.ceil(count / columns)
cellHeight: 400
cellWidth: 350
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment