 ishmaru Registered User |
Quote
|
2017-05-23 18:18:17 |
|
What is the best way to resize 2D overlay Text based on the current screen resolution?
|
 niko Moderator |
Quote
|
2017-05-26 06:35:43 |
|
Currently, there is nothing available for this. The only thing I could recommend is to use a sufficient big font which will be readable on big screens. 14 - 20 px worked nicely for me.
|
 gree Registered User |
Quote
|
2022-11-20 17:45:11 |
|
@niko is it possible to change the 2dOverlay font-size via js code? Then it would be easy to combine it with the screensize and run some custom code.
|
 Robo Guest |
Quote
|
2022-11-21 07:45:36 |
|
This is mentioned a few places elsewhere so yes you can :
https://www.ambiera.com/forum.php?t=9283
just get screen height (I don't need width as some screen extra wide), and adjust accordingly....
|
 gree Registered User |
Quote
|
2022-12-17 14:58:34 |
|
@Robo - awesome, thanks!
|