[OpenLayers-Trac] Re: [OpenLayers] #2862: Panel: decouple the appearance of the icons to the Controls

OpenLayers trac-20090302 at openlayers.org
Wed Mar 16 19:11:24 EDT 2011


#2862: Panel: decouple the appearance of the icons to the Controls
---------------------------+------------------------------------------------
 Reporter:  jorix          |       Owner:  jorix           
     Type:  feature        |      Status:  new             
 Priority:  minor          |   Milestone:  2.12 Release    
Component:  Control.Panel  |     Version:  2.10            
 Keywords:                 |       State:  Needs Discussion
---------------------------+------------------------------------------------

Comment(by jorix):

 Replying to [comment:3 erilem]:
 > With the current design panels aren't meant to include UI controls,
 panels create buttons/toggles for non-UI controls. So the current rule is
 don't use panels for composing UI controls. I don't think we should
 attempt to change that design, at least not for 2.11. I'm therefore
 bumping this ticket to 2.12, please change it back to 2.11 and provide
 explanations if my comments don't make sense.

 In the customization that I did use a toggle to measure that is associated
 with a sub panel with two buttons: areas and surfaces.

 This made ​​me think about that possibility, but it is a proposal that has
 long been sleeping...

 (What's more, I have written unpublished code to use text buttons with
 background on/off, using the object {{{PanelIcon}}} proposed here. But
 this if it would be 2.12)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2862#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list