[Chameleon-dev] [Bug 444] [Chameleon-Core] PopupStyleResource not
available in Popups
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Mon Jul 5 15:30:48 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=444
------- Additional Comments From nsavard at dmsolutions.ca 2004-07-05 15:30 -------
Tell me if I'm wrong when testing this fix. I used the "sample_enhanced.phtml"
sample and I added a sharedresource to it (see below). I then modified the
"locate" widget in the "tools_enhanced.html" template (see below). I loaded the
"sample_enhanced.phtml" sample and opened the "locate" window. The buttons were
properly styled.
---------------------
Shared resource:
<cwc2 type="SharedResource" name="TextButtons2">
<textbuttonbackgroundimage value=""/>
<imagewidth value="50"/>
<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"/>
<textbuttonborder_topleft_image value="borders/border_tl_1.png"/>
<textbuttonborder_top_image value="borders/border_t_1.png"/>
<textbuttonborder_topright_image value="borders/border_tr_1.png"/>
<textbuttonborder_right_image value="borders/border_r_1.png"/>
<textbuttonborder_left_image value="borders/border_l_1.png"/>
<textbuttonborder_bottomright_image value="borders/border_br_1.png"/>
<textbuttonborder_bottom_image value="borders/border_b_1.png"/>
<textbuttonborder_bottomleft_image value="borders/border_bl_1.png"/>
</state>
<state value="hover">
<textbuttoncolor value="cccccc"/>
<textbuttonborder_topleft_image value="borders/border_tl_2.png"/>
<textbuttonborder_top_image value="borders/border_t_2.png"/>
<textbuttonborder_topright_image value="borders/border_tr_2.png"/>
<textbuttonborder_right_image value="borders/border_r_2.png"/>
<textbuttonborder_left_image value="borders/border_l_2.png"/>
<textbuttonborder_bottomright_image value="borders/border_br_2.png"/>
<textbuttonborder_bottom_image value="borders/border_b_2.png"/>
<textbuttonborder_bottomleft_image value="borders/border_bl_2.png"/>
</state>
<state value="selected">
<textbuttoncolor value="cccccc"/>
<textbuttonborder_topleft_image value="borders/border_tl_3.png"/>
<textbuttonborder_top_image value="borders/border_t_3.png"/>
<textbuttonborder_topright_image value="borders/border_tr_3.png"/>
<textbuttonborder_right_image value="borders/border_r_3.png"/>
<textbuttonborder_left_image value="borders/border_l_3.png"/>
<textbuttonborder_bottomright_image value="borders/border_br_3.png"/>
<textbuttonborder_bottom_image value="borders/border_b_3.png"/>
<textbuttonborder_bottomleft_image value="borders/border_bl_3.png"/>
</state>
</cwc2>
--------------------
Widget modified:
<cwc2 type="Locate" styleresource="TextButtons" popupresource="TextButtons2"
PopupWidth="460" PopupHeight="550" Toolbar="false" Status="false"
Menubar="false" Image="icons/icon_search.png" ImageTip="Find a place or NTS
Sheet" Label="Locate" ZoomToScale="1000000">
<image state="normal"/>
<image state="selected"/>
<image state="hover"/>
</cwc2>
------- 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