dojo.lfx.rounded: corners and borders same width?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20061020/c62a...

Comments

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:

--
View this message in context: http://www.nabble.com/dojo.lfx.rounded%3A-corners-and-borders-same-width...
Sent from the Dojo mailing list archive at Nabble.com.

i think you already got the notification.

http://trac.dojotoolkit.org/ticket/1707

how safe is to use the Rounded widget in the mean-time ? Or better: how soon
is it going to be removed ?

On 10/20/06, Tom Trenka wrote:

--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dojotoolkit.org/pipermail/dojo-interest/attachments/20061020/b9d1...

The widget? It won't be removed until the 0.5 release, and you could always
dupe it and keep it privately for yourself, if need be.

trt

Valerio Schiavoni wrote:

--
View this message in context: http://www.nabble.com/dojo.lfx.rounded%3A-corners-and-borders-same-width...
Sent from the Dojo mailing list archive at Nabble.com.

Back to top