Add print icon to map - same size as default map icons

575
4
Jump to solution
07-10-2022 03:16 AM
Lindsay
Occasional Contributor

Hi ExB community,

I want to add the printing widget and have it lined up with the default map widgets. 

I'm having issues getting it to match size/position. I have tried px and %. The ExB will be used on large and small screens.

Output

Lindsay_0-1657448012514.png

Settings

Lindsay_1-1657448151357.png

 

Build

Lindsay_2-1657448164008.png

Thanks in advance for your help.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
ShengdiZhang
Esri Regular Contributor

Hi @Lindsay ,

To align the print widget with the map tools, you'd better place the print widget inside the map widget and use px to set the print widget position:

ShengdiZhang_0-1657505992796.png

This allows the printing widget to be aligned at all resolutions that use large screens, but for small screens, you need to customize the layout.

ShengdiZhang_1-1657506128084.png

 

Shengdi

View solution in original post

0 Kudos
4 Replies
ShengdiZhang
Esri Regular Contributor

Hi @Lindsay ,

To align the print widget with the map tools, you'd better place the print widget inside the map widget and use px to set the print widget position:

ShengdiZhang_0-1657505992796.png

This allows the printing widget to be aligned at all resolutions that use large screens, but for small screens, you need to customize the layout.

ShengdiZhang_1-1657506128084.png

 

Shengdi

0 Kudos
Lindsay
Occasional Contributor

Thanks @ShengdiZhang! That worked 🙂

0 Kudos
Lindsay
Occasional Contributor

@ShengdiZhang While we're on the print widget, are there ways to use dynamic text for layout option set defaults like author?

Lindsay_0-1657523119900.png

 

0 Kudos
ShengdiZhang
Esri Regular Contributor

Sorry, you cannot do this in the print widget.  The Print widget does not support connecting to data, and we have no plans to do so at this time, so it is not possible to set default values using dynamic text.

0 Kudos