|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
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 _______________________________________________ Dojo FAQ: http://dojo.jot.com/FAQ Dojo Book: http://manual.dojotoolkit.org/DojoDotBook Dojo-interest@... http://dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: dojo.lfx.rounded: corners and borders same width?http://archive.dojotoolkit.org/nightly/demos/widget/rounded.html look 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@...> wrote: hello, -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni _______________________________________________ Dojo FAQ: http://dojo.jot.com/FAQ Dojo Book: http://manual.dojotoolkit.org/DojoDotBook Dojo-interest@... http://dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: dojo.lfx.rounded: corners and borders same width?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
|
|
|
Re: dojo.lfx.rounded: corners and borders same width?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 <dojo-interest@...> wrote: Please file a bug in trac (http://trac.dojotoolkit.org, guest/guest) to me -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni _______________________________________________ Dojo FAQ: http://dojo.jot.com/FAQ Dojo Book: http://manual.dojotoolkit.org/DojoDotBook Dojo-interest@... http://dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: dojo.lfx.rounded: corners and borders same width?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
|
| Free embeddable forum powered by Nabble | Forum Help |