What happened to layer list text wrapping in HTML5 viewer?
We just upgraded our HTML5 version from v2.4 to v2.7.
The Layer List in v2.4 has the longer layer names with the text wrapped, and the v2.7 has the names with a "..." appended where the name has been cut short.
I thought this text wraqpping of the Layr List was an improvement when we upgraded to v2.4, but now it seems to have been revoked.
Anyone have answers or is there a new functinality introduced that I haven't found in the settings to allow for text wrapping?
Thanks in advance,
-Ben
0
-
I just noticed this too! I haven't found a way to revert back to the wrapped text. 0 -
Hi Ben
I thin I found a solution, comparing my exisiting 2.6x viewer to the new 2.7x I noticed some slight differences in the element styling.
I added the following to the custom desktop.css file, and (at least in my case) the the wrapping of longer names is enabled.
/*wraps text for long layer names in Layer List*/
.layer-contents .display-name {
display: block;
}
.layer-item-ctrl {
float: left;
}
.no-touch .layer-contents {
line-height: inherit;
}
.layer-contents {
white-space: normal;
}
Hope that helps you too.
Cheers
Chris0 -
Thanks Chris! I'll give it a try. 0 -
Thanks Ben and Chris for posting!
For the rest of us programming noobs, I would like to suggest to Latitude that the layer name text wrap feature be brought back. My organization has some maps with many group layers and long, detailed layer names (that cannot be reduced). I had to extend out my layer list to 700 units wide just to accommodate it. That is over 1/3 of the screen.
Thanks!
Brenden0 -
I've done some digging. This was introduced in 2.7 with the fix for GVH-9918, where a layer's legend could wrap awkwardly with respect to layer names and layer icons (or legend swatches). I've filed a new bug (GVH-13282) and discussed it with the design team. They're hoping to have a new fix -- for both issues -- in time for 2.8. 0
Please sign in to leave a comment.
Comments
5 comments