You need to log in before you can comment on or make changes to this bug.
Currently Chameleon has a Mapsize widget that can be used as a button or as an embedded dropdown list. As a button it launches a popup where you can select the desired scale from a dropdown list. What I want to do is have a button that just sets the mapsize so I can have 3 of them on a page and you just click the one you want to get a new mapsize. What I'm going to do is put 3 link widgets on the page in a group, and try and access a hidden mapsize widget to get this to work in this way. I was thinking that this might make a neat little widget that could be useful. I was originally thinking it would make a good addition to the existing mapsize widget, but after discussing it with Paul, it seems that it would introduce complexity and more chances for things to break. I'm just recording this here to keep the idea from getting lost.
It may be possible to modify the mapsize widget to work this way ... options are: * add parameter that would cause embedded mapsize widget to render as a series of buttons rather than a select - down side would be lack of control over alignment of buttons * add detection of only one mapsize in embedded mode and draw as button instead of select - down side is that this becomes a 'magic' behaviour, which I am strangely against * create a new widget ...