Hello - I am building an map application with Experience Builder in ArcGIS Online. Currently I have the map's title text as size 10px so that the text can be accommodated on a mobile device. This is not ideal when testing on desktop.
Is there any way currently in Experience Builder to dynamically size adjust the text's size based on the screen size? Either through the text widget or some other method? What I imagine is a way to for example set the text size to 28px by default in desktop view, and by enabling some option the component would dynamically scale the size based on the screen. Is this possible?
Solved! Go to Solution.
As suggested by @Ke_Xu, you can use the Pending List to switch out different Text Widgets for different size screens.
Another option is to set your text size to vw. By clicking the px on the text size, you can switch the units. Vw means visual width. Using this option every character will be a percentage of the width of the screen and it will scale to any screen size.
You may want to do a combination of both methods.
Hi KeonMonroe,
We will consider your needs. Now you could use pending to solve this issue. Video is here. https://community.esri.com/t5/arcgis-experience-builder-videos/three-tips-for-working-with-the-pendi...
As suggested by @Ke_Xu, you can use the Pending List to switch out different Text Widgets for different size screens.
Another option is to set your text size to vw. By clicking the px on the text size, you can switch the units. Vw means visual width. Using this option every character will be a percentage of the width of the screen and it will scale to any screen size.
You may want to do a combination of both methods.
I was not aware of the visual width setting! It would be nice if this was an option present in all components, not just the text box - but it works for now! Thank you!