For the Timeline widget the Position in pixels is being ignored

313
2
Jump to solution
10-18-2022 03:31 PM
Labels (1)
RyanBohan
Occasional Contributor III

For the Timeline widget the Position setting 10 px from the bottom is being ignored

It looks fine in the preview, 10 pixels above the yellow banner

RyanBohan_0-1666132040820.png

Once published the space is much more then 10 pixels

RyanBohan_1-1666132194091.png

With different sizes screens I prefer to use pixels over percentage for spacing. 

Tags (4)
1 Solution

Accepted Solutions
TonghuiMing
Esri Regular Contributor

Hi @RyanBohan 

I believe the reason is that, even though your Timeline widget position has been set using pixels, its height of it is still in percentage. It will cause the widget to expand to the screen size change like the following:

 

TonghuiMing_0-1666164887985.png

TonghuiMing_1-1666165021128.png

Changing your widget height to a px height unit, or setting it to the Auto mode, will probably solve this.

View solution in original post

0 Kudos
2 Replies
TonghuiMing
Esri Regular Contributor

Hi @RyanBohan 

I believe the reason is that, even though your Timeline widget position has been set using pixels, its height of it is still in percentage. It will cause the widget to expand to the screen size change like the following:

 

TonghuiMing_0-1666164887985.png

TonghuiMing_1-1666165021128.png

Changing your widget height to a px height unit, or setting it to the Auto mode, will probably solve this.

0 Kudos
RyanBohan
Occasional Contributor III

Hi @TonghuiMing,

That seemed to do the trick.  Thank you

I thought the 10px and 10 px anchor the widget to that position to the bottom/left.  Did not realized the size of the widget would affect it's over all position