[Chameleon-dev] [Bug 61] [cwc2-widgets] textbutton background image
in popups
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Tue Jul 13 14:31:44 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=61
cthorne at dmsolutions.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
------- Additional Comments From cthorne at dmsolutions.ca 2004-07-13 14:31 -------
Verified on Windows using 1.99 beta 2 2004-07-09 by:
1) getting a new skin from fred (see attachment):
2) Registuring a new skin. This is done in bottom of the sample_enhanced.phtml file
$oApp = new SampleApp();
$oApp->registerSkin( 'skins/sample' );
$oApp->registerSkin( 'skins/gel_clear' );
$oApp->CWCInitialize( $szTemplate, $szMapFile );
$oApp->CWCExecute();
?>
3) change the textbutton shareresource to point to a background image using
sample_enhaced.html:
<!-- defaults for Text Buttons -->
<cwc2 type="SharedResource" name="TextButtons">
*<textbuttonbackgroundimage value="images/background_1.png"/>*
<imagewidth value="120"/>
<imageheight value="24"/>
<textbuttonpadding value="0"/>
<textbuttonnudge value="0"/>
<labelcolor value="111111"/>
<labelfont value="fonts/Vera.ttf"/>
<labelalign value="left"/>
<labelfontsize value="8"/>
<labelantialias value="true"/>
<usetextbuttoncache value="false"/>
<state value="normal">
<textbuttoncolor value="f0f0f0"/>
...
4) On load notice the butons change background
5) when popup is presented eg. Error Reporter the "close" button has also changed.
------- 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