diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-05-28 13:14:15 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-29 12:36:32 +0200 |
| commit | c6389d78fc51fb404043848f5d7da2d4e3e19599 (patch) | |
| tree | fe3530f539f300819616a5dc556efa543e179bd9 /src/controls | |
| parent | 158fe2a0c551f7aaeaa07bdbb0096bee0ade0fdf (diff) | |
| download | qtquickcontrols-c6389d78fc51fb404043848f5d7da2d4e3e19599.tar.gz | |
Move backgroundColor from TableView to TableViewStyle
This property was not respected by some of the native styles
and makes more sense as a styling attribute.
Change-Id: I9cc1d3a130b764a67552ed7f0cec49ccc87ea246
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls')
| -rw-r--r-- | src/controls/TableView.qml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml index 93d75e92..d0417bfa 100644 --- a/src/controls/TableView.qml +++ b/src/controls/TableView.qml @@ -161,12 +161,6 @@ ScrollView { */ property Component rowDelegate: __style ? __style.rowDelegate : null - /*! \qmlproperty color TableView::backgroundColor - - This property sets the background color of the viewport. - The default value is the base color of the SystemPalette. */ - property alias backgroundColor: colorRect.color - /*! This property defines a delegate to draw a header. In the header delegate you have access to the following special properties: @@ -404,7 +398,7 @@ ScrollView { id: colorRect parent: viewport anchors.fill: parent - color: palette.base + color: __style ? __style.backgroundColor : palette.base z: -1 } |
