~aacid/unity8/dashviews_integration

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/cardcreator/2.res

  • Committer: Albert Astals
  • Date: 2014-06-18 10:26:01 UTC
  • Revision ID: albert.astals@canonical.com-20140618102601-vdtxi8pi0p9mgldh
Make the rowHeight be the headerHeight if we have it

Shuffle a bit the margins in headerHeight/fixedHeaderHeight

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                    } 
47
47
                }
48
48
readonly property size artShapeSize: Qt.size(-1, -1);
49
 
readonly property int headerHeight: row.height + row.margins * 2;
 
49
readonly property int headerHeight: row.height;
50
50
Row { 
51
51
                    id: row; 
52
52
                    objectName: "outerRow"; 
53
53
                    property real margins: units.gu(1); 
54
54
                    spacing: margins; 
 
55
                    height: root.fixedHeaderHeight != -1 ? root.fixedHeaderHeight : implicitHeight; 
55
56
                    anchors { top: parent.top; 
56
57
                                     topMargin: units.gu(1);
57
58
                    left: parent.left;