Valerio,
Please file a bug in trac (
http://trac.dojotoolkit.org, guest/guest) to me (ttrenka), and please include at least one screenshot so that I can see exactly what you're referring to. The rounded code is...um...extraordinarily (and somewhat unnecessarily) complex; it may be changed internally to either take advantage of gfx to handle rounded corners better, or even try to use CSS3 where it's supported, we'll see.
trt
Valerio Schiavoni wrote:
even more, those rounded boxes shown here:
http://archive.dojotoolkit.org/nightly/demos/widget/rounded.htmllook much nicer !
i know that dojoType="Rounded" is going to be removed later on (that's why I
was told in a previous post), but...
On 10/20/06, Valerio Schiavoni <valerio.schiavoni@gmail.com> wrote:
>
> hello,
> i'm using the rounded.js function in dojo.lfx.rounded with the following
> values:
>
> dojo.lfx.rounded({
> tl:{ radius:15 },
> tr:{ radius:15 },
> bl:{ radius:15 },
> br:{ radius:15 },
> },
> ["roundit"]
> );
> };
>
> and the css for the div id="roundit" looks like:
> #roundit {
> border:1px solid #ccc;
> position:absolute;
> }
>
> i get a strange effect where borders and corners have different size. i
> know where it came from (looking at sources, for every corner there
> something like:
> corner.style.marginLeft=options.radii[cc]-(format.borderWidth*2)+"px";
>
> but what if i want to have both corners and borders of width 1px ?
>
> thanks a lot,
> valerio
> --
>
http://valerioschiavoni.blogspot.com>
http://jroller.com/page/vschiavoni--
http://valerioschiavoni.blogspot.comhttp://jroller.com/page/vschiavoni_______________________________________________
Dojo FAQ:
http://dojo.jot.com/FAQDojo Book:
http://manual.dojotoolkit.org/DojoDotBookDojo-interest@dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest