Change the size of the typo of avatar s name ? #3048
Answered
by
robinkwilson
bemyevent
asked this question in
General Questions & Discussion
-
Hello Where can i change the name of typo size in a hub vloud custom ? When there are too many user closed we can t see name of the avatar . |
Beta Was this translation helpful? Give feedback.
Answered by
robinkwilson
Oct 2, 2020
Replies: 1 comment
-
Here's where the nametag's scale is defined: https://github.com/mozilla/hubs/blob/041dc57b33f07c3983e3a4897ff702263131a96e/src/hub.html#L120 Update this and you change the size! If you'd like to do this dynamically, you can select the element this way https://github.com/mozilla/hubs/blob/49ca6d091554989220a597780eb2ef9dfea87dc0/src/components/player-info.js#L128 and update the scale attribute. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
robinkwilson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's where the nametag's scale is defined: https://github.com/mozilla/hubs/blob/041dc57b33f07c3983e3a4897ff702263131a96e/src/hub.html#L120
Update this and you change the size!
If you'd like to do this dynamically, you can select the element this way https://github.com/mozilla/hubs/blob/49ca6d091554989220a597780eb2ef9dfea87dc0/src/components/player-info.js#L128 and update the scale attribute.