smaller user label, and use the word "people"

This commit is contained in:
howard-stearns 2016-07-29 15:22:08 -07:00
parent 13771a52e8
commit ae9421f1f6
2 changed files with 3 additions and 2 deletions

View file

@ -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');
}
}

View file

@ -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;