~ubuntu-branches/ubuntu/maverick/plasma-mobile/maverick

« back to all changes in this revision

Viewing changes to containments/mobilelauncher/qml/view.qml

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Belem
  • Date: 2010-08-30 23:41:22 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100830234122-3q94e0vf1qfl4e2c
Tags: 0.0~svn20100830-0ubuntu1
* New svn snapshot, revision 1170070. (LP: #627205)
* Updated Standards-Version to 3.9.1.
* Updated the build-dep kdebase-workspace-dev to >= 4.5.
* Removed the patches kubuntu_02_enable_mobilesystray_build.diff and
  kubuntu_03_add_mobilesystray_to_all_desktops.diff since upstream
  already enables the systray build and it is by default on all
  desktops.
* Switch to dpkg-source 3.0 (quilt) format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
Rectangle {
5
5
    color: Qt.rgba(0,0,0,0.4)
 
6
    width: 800
 
7
    height: 480
6
8
 
7
9
    GridView {
8
10
        id: appsView
22
24
        clip: true
23
25
        signal clicked
24
26
 
 
27
        onWidthChanged : {
 
28
            if (width > 600) {
 
29
                cellWidth = width/6
 
30
            } else {
 
31
                cellWidth = width/4
 
32
            }
 
33
        }
 
34
 
 
35
        onHeightChanged : {
 
36
            if (height > 600) {
 
37
                cellHeight = height/6
 
38
            } else {
 
39
                cellHeight = height/4
 
40
            }
 
41
        }
 
42
 
25
43
        delegate: Component {
26
44
            Item {
27
45
                id: wrapper