aboutsummaryrefslogtreecommitdiff
path: root/components/TableHeader.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/TableHeader.qml')
-rw-r--r--components/TableHeader.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/TableHeader.qml b/components/TableHeader.qml
index 93c5c96a..f01da098 100644
--- a/components/TableHeader.qml
+++ b/components/TableHeader.qml
@@ -5,6 +5,7 @@ Rectangle {
signal sortRequest(bool desc, int column)
property alias dataModel: columnsRepeater.model
property int activeSortColumn: -1
+ property int offset: 0
height: 31
color: "#FFFFFF"
@@ -18,7 +19,10 @@ Rectangle {
}
Row {
- anchors.horizontalCenter: parent.horizontalCenter
+ id: row
+ anchors.horizontalCenter: header.offset !== 0 ? undefined: parent.horizontalCenter
+ anchors.left: header.offset !== 0 ? parent.left : undefined
+ anchors.leftMargin: header.offset
Rectangle {
height: 31