[Chameleon-dev] [Bug 630] [Chameleon - Label Attribute] Label vs. Label Attribute.

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Sep 3 13:18:04 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=630





------- Additional Comments From dredfern at dmsolutions.ca  2004-09-03 13:18 -------
While I agree that it would be good to minimize unnecessary attribute name 
duplication across widgets, I'm not sure I see the logic in this bug. 

There are plenty of attribute names that are "re-used" in  different 
widgets. "image" is in several widgets plus in the ButtonWidget Shared 
Resource. If we were to rename "label" to "ButtonLabel", would we not also have 
to rename "image" to "ButtonImage" - and "ImageTip" to "ButtonImageTip", etc., 
etc.

My personal thinking is that so long as the attribute name adequately describes 
the purpose *within the context it is in*, then having duplicate names in 
different widgets is OK. We need to balance the need for complete clarity with 
wanting to have shorter, easier-to-type names. I'm not sure we could ever 
effectively eliminate all duplicate attribute names. 



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list