Skip to main content

What happened to layer list text wrapping in HTML5 viewer?

Comments

5 comments

  • Chris Roberts
    I just noticed this too!  I haven't found a way to revert back to the wrapped text.
    0
  • Chris Roberts
    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

     

    Chris

     

     
    0
  • Permanently deleted user
    Thanks Chris! I'll give it a try.
    0
  • Permanently deleted user
    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!

     

    Brenden
    0
  • Permanently deleted user
    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.