diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-06-05 11:47:10 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-06 09:37:23 +0200 |
commit | f31c8c1b567cb3c2c0704ef1edb982999f96fd74 (patch) | |
tree | ffeed171ff3b20c2e26b94f318cbe7b692bba508 /src/controls/TextArea.qml | |
parent | 420bb714a8c8ebc67ad958897939d7d96e11806c (diff) | |
download | qtquickcontrols-f31c8c1b567cb3c2c0704ef1edb982999f96fd74.tar.gz qtquickcontrols-f31c8c1b567cb3c2c0704ef1edb982999f96fd74.tar.bz2 qtquickcontrols-f31c8c1b567cb3c2c0704ef1edb982999f96fd74.zip |
Replace backgroundColor with backgroundVisible
This exposes backgroundVisible to TableView and
replaces backgroundColor in TextArea.
We think the backgroundVisible is more flexible and allows us
to find a more appropriate solution to support palette in the
future.
Change-Id: Icfcd512c29cf030059c4ce2d32feb402d1a33662
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/TextArea.qml')
-rw-r--r-- | src/controls/TextArea.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 84f67b23..fd715a36 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -599,14 +599,13 @@ ScrollView { edit.undo(); } - /*! - \qmlproperty color TextArea::backgroundColor + /*! \qmlproperty bool TextArea::backgroundVisible - This property sets the background color of the viewport. + This property determines if the background should be filled or not. - The default value is the base color of the SystemPalette. + The default value is \c true. */ - property alias backgroundColor: colorRect.color + property alias backgroundVisible: colorRect.visible /*! \internal */ default property alias data: area.data |