|
||||
[Chameleon] TextButton SharedResource ProblemRene Teniere TENIERER@gov.ns.caFri, 09 Jan 2004 10:38:25 -0400
|
Hey Paul, I tried it, deleted the temporary internet files and the temp button images. When I set the cache value to false and re-tried the site, it would not display saying site cannot be found. When I set it back to true, it worked again, however, the buttons still turned out the same. What's with this? Rene >>> pagameba@magma.ca 2004-01-09 9:59:58 AM >>> Rene, you have the value of usetextbuttoncache set to true, which means that the buttons will never be regenerated. Try setting this to false. You can also try manually deleting all the button images. If you are using MS4W then this directory would be /ms4w/tmp/ms_tmp/buttons/ - delete everything in it. If you are not, then you would have set a value for the button cache path in the cwc2.xml file Cheers, Paul Rene Teniere wrote: > Hey Paul, > > Sorry, but that didn't work. Like I say, it's weird that only the > Cancel buttons in the popup menus work correctly. At one point they just > started to work!?! All of the other buttons in the popup menus only have > the image working, no border or text, while the others in the main page > only have the size and background colour working. Really bloody > strange. Any other ideas up your sleeve? > > Rene > > >>>>pagameba@magma.ca 2004-01-08 6:16:14 PM >>> > > Rene, > > I think your labelfont is incorrect. Try putting the full filesystem > path to the font file in here. > > The code that uses the font file tries to determine its full path > relative to its location in CWC2, for instance the default value is > "../etc/arialbd.ttf" > > Cheers, > > Paul > > Rene Teniere wrote: > > >>Hi all, >> >>Has anyone figured out why the TextButton SharedResource tag will > > not > >>display the text label, and textbuttonborder and image images? If > > so, > >>can you let me know? I am including the code for the TextButton >>SharedResource: >> >>Rene >> >><cwc2 type="SharedResource" name="TextButton"> >> <textbuttoncolor value="d9d9d9"/> >> <textbuttonwidth value="90"/> >> <textbuttonheight value="24"/> >> <textbuttonbackgroundimage value=""/> >> <textbuttonborder_topleft_image >>value="/chameleon_sites/test/images/tl_2.png"/> >> <textbuttonborder_top_image >>value="/chameleon_sites/test/images/t_2.png"/> >> <textbuttonborder_topright_image >>value="/chameleon_sites/test/images/tr_2.png"/> >> <textbuttonborder_right_image >>value="/chameleon_sites/test/images/r_2.png"/> >> <textbuttonborder_bottomright_image >>value="/chameleon_sites/test/images/br_2.png"/> >> <textbuttonborder_bottom_image >>value="/chameleon_sites/test/images/b_2.png"/> >> <textbuttonborder_bottomleft_image >>value="/chameleon_sites/test/images/bl_2.png"/> >> <textbuttonborder_left_image >>value="/chameleon_sites/test/images/l_2.png"/> >> <textbuttonpadding value="2"/> >> <textbuttonnudge value="0"/> >> <labelcolor value="000000"/> >> <labelfont value="/chameleon_sites/test/arialbd.ttf"/> >> <labelalign value="left"/> >> <labelfontsize value="8"/> >> <labelantialias value="true"/> >> <usetextbuttoncache value="true"/> >></cwc2> >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |