Bug 708

Summary: [Chameleon - Core] support buttons without images
Product: Chameleon Reporter: Paul Spencer <pspencer@dmsolutions.ca>
Component: CoreAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 3   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-10-15 13:19:22
images have empty src elements if the image parameter is not supplied to
button-based widgets.  Suggest outputting the label if available and
hyperlinking it.
------- Comment #1 From 2004-10-15 13:19:37 -------
fixed in cvs
------- Comment #2 From 2004-10-25 16:02:29 -------
I removed the image link of two widgets in the "sample_basic_plainbuttons.html"
template as show below.  I then loaded the template and got labels instead of
image (cwcimage9 and cwcimage10 labels).

Tested on Fedora Core 2
Chameleon beta 3 20041022


----------------
Widgets that I removed image link:


      <!-- ZOOMIN -->
      <td><cwc2 type="ZoomIn" visible="true" image="" imagewidth="24"
imageheight="24" imagetip="Zoom In" toolset="Navigation" default="true"/></td>
      <!-- ZOOMOUT -->
      <td><cwc2 type="ZoomOut" visible="true" image="" imagewidth="24"
imageheight="24" imagetip="Zoom Out" toolset="Navigation"/></td>

------- Comment #3 From 2004-10-26 13:14:50 -------
verfied on windows: with no label or image defined the ZoomIN and Out buttons
were replaced with radio buttons with the following text (cwcimage_13 and  
cwcimage_14)

setting to closed