diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2014-02-25 18:21:00 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-25 18:33:22 +0100 |
commit | 44e9533361045f299f43aa21bac55eaed87316f7 (patch) | |
tree | 757a808cf583b4197ed9dc2948003b3220a04373 /src/controls/Styles/Desktop | |
parent | 5c8e205c5f4f4a0d131cb1f2511ca0b91923c0f2 (diff) | |
download | qtquickcontrols-44e9533361045f299f43aa21bac55eaed87316f7.tar.gz |
Support text alignment for TableViewHeaderv5.3.0-alpha1
task-number: QTBUG-33072
[ChangeLog][QtQuickControls][TableView] TableView headers
now respect TableViewColumn::textAlignment
Change-Id: I482e74e10b8879b367bce8165fa9310b28a06ad2
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Styles/Desktop')
-rw-r--r-- | src/controls/Styles/Desktop/TableViewStyle.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Desktop/TableViewStyle.qml b/src/controls/Styles/Desktop/TableViewStyle.qml index 88611ab5..b9891b31 100644 --- a/src/controls/Styles/Desktop/TableViewStyle.qml +++ b/src/controls/Styles/Desktop/TableViewStyle.qml @@ -75,7 +75,7 @@ ScrollViewStyle { text: styleData.value hover: styleData.containsMouse hints: control.styleHints - properties: {"headerpos": headerPosition} + properties: {"headerpos": headerPosition, "textalignment": styleData.textAlignment} property string itemSort: (control.sortIndicatorVisible && styleData.column === control.sortIndicatorColumn) ? (control.sortIndicatorOrder == Qt.AscendingOrder ? "up" : "down") : ""; property string headerPosition: control.columnCount === 1 ? "only" : styleData.column === control.columnCount-1 ? "end" : |