Profile Picture

Map legend - autosizing the legend within a panel

Posted By Kevin Harrison 12 Years Ago
Author
Message
Kevin Harrison
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865

Hi

I use  mapLegend.Create((Panel)legendControl) to add my legend to the map. I notice that the help says that the panel is automatically resized to the height of the legend.  However, I want the legend to resize within the panel, so that its size is automatically adjusted as I resize the control hosting the map and the legend, rather than being partialy hidden.  How can I achieve this?

Thanks, Kevin






Similar Topics


Reading This Topic