0

Is it possible to have the legend scroll using the OpenGeo Suite SDK and GXP. Following this tutorial Tutorial LinkIt is possible to have it any size if external as the height and width can be changed but when embedded into the west container, if too many layers are selected the legend doesn't fully display each layer?

Suggestions or ideas?

2

You can do this using the ExtJS autoScroll option in the legend's outputConfig, e.g.:

{
    ptype: "gxp_legend",
    outputConfig: {
        autoScroll: true
    },
    outputTarget: "legend"
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.