mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-08 08:48:03 +02:00
smaller user label, and use the word "people"
This commit is contained in:
parent
13771a52e8
commit
ae9421f1f6
2 changed files with 3 additions and 2 deletions
|
@ -81,7 +81,7 @@ Window {
|
|||
path: model.name;
|
||||
thumbnail: model.thumbnail;
|
||||
placeText: model.name;
|
||||
usersText: model.online_users + ((model.online_users === 1) ? ' user' : ' users')
|
||||
usersText: model.online_users + ((model.online_users === 1) ? ' person' : ' people');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ Rectangle {
|
|||
property alias usersText: users.text;
|
||||
property int textPadding: 20;
|
||||
property int textSize: 24;
|
||||
property int textSizeSmall: 18;
|
||||
property string defaultThumbnail: Qt.resolvedUrl("../../images/default-domain.gif");
|
||||
property string thumbnail: defaultThumbnail;
|
||||
property string path: "";
|
||||
|
@ -80,7 +81,7 @@ Rectangle {
|
|||
}
|
||||
RalewayRegular {
|
||||
id: users;
|
||||
size: textSize;
|
||||
size: textSizeSmall;
|
||||
color: hifi.colors.white;
|
||||
anchors {
|
||||
bottom: parent.bottom;
|
||||
|
|
Loading…
Reference in a new issue