Select to view content in your preferred language

Layer list/Table of Contents problems

639
1
07-24-2013 09:42 AM
by Anonymous User
Not applicable
Original User: gullagem

I have a flex web app and I am having an issue with rendering the Table of Contents/Layer list. I have two separate problems. First, there is a large gap between the layer list and the bottom of the widget container. Secondly, while I can scroll down to look at all available groups of layers, it would be nice to have them all come up (there are about 3 below the last layer on the screenshot). Fairly new to flex (someone else built the basic application) but I am hoping someone knows how to fix one or both of these problems.
[ATTACH=CONFIG]26180[/ATTACH]
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: rzufelt

Not sure where the gap is coming from.

Normally, the size of the widget is set in the config.xml document:

        <widget label="Layers" right="0" bottom="20" preload="open" height="230" width="220"    icon="assets/images/i_draw_text.png"
    config="widgets/LayerList/LayerListWidget.xml"
    url="widgets/LayerList/LayerListWidget.swf"/>  


If this doesn't work, then I'd suspect someone has actually changed the mxml. If this is the case, might just be easier to replace that widget with the original, and set the size in the config.

R_
0 Kudos