Changeset View
Changeset View
Standalone View
Standalone View
src/qml/GridBrowserView.qml
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 101 | GridView { | |||
---|---|---|---|---|---|
120 | 120 | | |||
121 | ScrollHelper { | 121 | ScrollHelper { | ||
122 | id: scrollHelper | 122 | id: scrollHelper | ||
123 | flickable: contentDirectoryView | 123 | flickable: contentDirectoryView | ||
124 | anchors.fill: contentDirectoryView | 124 | anchors.fill: contentDirectoryView | ||
125 | } | 125 | } | ||
126 | 126 | | |||
127 | cellWidth: elisaTheme.gridDelegateWidth | 127 | cellWidth: elisaTheme.gridDelegateWidth | ||
128 | cellHeight: (delegateDisplaySecondaryText ? elisaTheme.gridDelegateHeight : elisaTheme.gridDelegateHeight - secondaryLabelSize.height) | 128 | cellHeight: delegateDisplaySecondaryText ? | ||
129 | elisaTheme.gridDelegateHeight : | ||||
130 | elisaTheme.gridDelegateHeight - (secondaryLabelSize.boundingRect.height - secondaryLabelSize.boundingRect.y) | ||||
129 | 131 | | |||
130 | delegate: GridBrowserDelegate { | 132 | delegate: GridBrowserDelegate { | ||
131 | width: contentDirectoryView.cellWidth | 133 | width: contentDirectoryView.cellWidth | ||
132 | height: contentDirectoryView.cellHeight | 134 | height: contentDirectoryView.cellHeight | ||
133 | 135 | | |||
134 | focus: true | 136 | focus: true | ||
135 | 137 | | |||
136 | isPartial: false | 138 | isPartial: false | ||
Show All 22 Lines |