1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-12 03:25:24 +02:00

location sharing: minor fonts changes

- text label font-sixe from 20 to 15
- text label length from 10 to 20

Change-Id: Ibcfc6f3dee298aaa614dc3bd0b0ce653c88496ac
This commit is contained in:
Nicolas Vengeon 2022-12-27 13:41:35 -05:00 committed by Sébastien Blin
parent 041b733cf4
commit 10b2a5fffa
2 changed files with 2 additions and 2 deletions

View file

@ -486,7 +486,7 @@ PositionManager::addPositionToMap(PositionKey key, QVariantMap position)
bestName = accountInfo.contactModel->bestNameForContact(uri);
QString shorterAuthorName = bestName;
shorterAuthorName.truncate(10);
shorterAuthorName.truncate(20);
if (bestName != shorterAuthorName) {
shorterAuthorName = shorterAuthorName + "";
}

View file

@ -97,7 +97,7 @@ function setSource (coordos, avatar, authorName) {
textLabel.setStyle(new ol.style.Style({
text: new ol.style.Text({
text: textLabel.get('text'),
font: '20px Arial',
font: '15px Arial',
fill: new ol.style.Fill({
color: 'black'
}),