Summary: | [cwc2-widgets] textbutton background image in popups | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Fred Warnock <fwarnock@dmsolutions.ca> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: | |||
Attachments: | gen_clear skin with background image |
this is fixed now.
I can back paul up on that claim, as he fixed it for me :)
Created an attachment (id=36) [details]
gen_clear skin with background image
skin to verify bug.
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.