mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Frequent checkpoints are good.
This commit is contained in:
parent
e7c2229b2c
commit
feafc16833
3 changed files with 7 additions and 3 deletions
|
@ -18,9 +18,9 @@ Row {
|
|||
// Spacing
|
||||
spacing: 10;
|
||||
// Anchors
|
||||
//anchors.topMargin: 10;
|
||||
anchors.topMargin: 10;
|
||||
anchors.leftMargin: 10;
|
||||
//anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter;
|
||||
|
||||
// Properties
|
||||
property string displayName: "";
|
||||
|
|
|
@ -109,6 +109,7 @@ Rectangle {
|
|||
|
||||
// This Rectangle refers to each Row in the table.
|
||||
rowDelegate: Rectangle { // The only way I know to specify a row height.
|
||||
// Size
|
||||
height: rowHeight;
|
||||
// The rest of this is cargo-culted to restore the default styling
|
||||
SystemPalette {
|
||||
|
@ -126,6 +127,9 @@ Rectangle {
|
|||
id: itemCell;
|
||||
property bool isCheckBox: typeof(styleData.value) === 'boolean';
|
||||
property bool isSeparator: styleData.value === '';
|
||||
// Anchors
|
||||
anchors.topMargin: 10;
|
||||
anchors.bottomMargin: anchors.topMargin;
|
||||
// This NameCard refers to the cell that contains an avatar's
|
||||
// DisplayName and UserName
|
||||
NameCard {
|
||||
|
|
|
@ -145,7 +145,7 @@ function usernameFromIDReply(id, username, machineFingerprint) {
|
|||
data = ['', username]
|
||||
} else {
|
||||
// Set the data to contain the ID and the username+ID concat string.
|
||||
data = [id, username + '/' + machineFingerprint];
|
||||
data = [id, username || machineFingerprint];
|
||||
}
|
||||
print('Username Data:', JSON.stringify(data));
|
||||
// Ship the data off to QML
|
||||
|
|
Loading…
Reference in a new issue