mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 18:42:12 +02:00
Do it!
This commit is contained in:
parent
45dd09e941
commit
5cba928540
1 changed files with 8 additions and 2 deletions
|
@ -158,8 +158,9 @@ Rectangle {
|
||||||
onSortIndicatorOrderChanged: sortModel()
|
onSortIndicatorOrderChanged: sortModel()
|
||||||
|
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
|
id: displayNameHeader
|
||||||
role: "displayName"
|
role: "displayName"
|
||||||
title: "NAMES"
|
title: table.rowCount + (table.rowCount === 1 ? " NAME" : " NAMES")
|
||||||
width: nameCardWidth
|
width: nameCardWidth
|
||||||
movable: false
|
movable: false
|
||||||
resizable: false
|
resizable: false
|
||||||
|
@ -351,6 +352,11 @@ Rectangle {
|
||||||
visible: iAmAdmin
|
visible: iAmAdmin
|
||||||
color: hifi.colors.lightGrayText
|
color: hifi.colors.lightGrayText
|
||||||
}
|
}
|
||||||
|
TextMetrics {
|
||||||
|
id: displayNameHeaderMetrics
|
||||||
|
text: displayNameHeader.title
|
||||||
|
font: displayNameHeader.font
|
||||||
|
}
|
||||||
// This Rectangle refers to the [?] popup button next to "NAMES"
|
// This Rectangle refers to the [?] popup button next to "NAMES"
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: hifi.colors.tableBackgroundLight
|
color: hifi.colors.tableBackgroundLight
|
||||||
|
@ -359,7 +365,7 @@ Rectangle {
|
||||||
anchors.left: table.left
|
anchors.left: table.left
|
||||||
anchors.top: table.top
|
anchors.top: table.top
|
||||||
anchors.topMargin: 1
|
anchors.topMargin: 1
|
||||||
anchors.leftMargin: nameCardWidth/2 + 24
|
anchors.leftMargin: nameCardWidth/2 + displayNameHeaderMetrics.width/2 + 6
|
||||||
RalewayRegular {
|
RalewayRegular {
|
||||||
id: helpText
|
id: helpText
|
||||||
text: "[?]"
|
text: "[?]"
|
||||||
|
|
Loading…
Reference in a new issue