gwt + jquery rounded corner

20 views
Skip to first unread message

Sudeep S

unread,
Nov 22, 2009, 2:14:07 PM11/22/09
to google-we...@googlegroups.com
Hi,
 
I am trying to use jquery.corner.js to round my panel in gwt using the below code
 

public

final native void roundCorner()/*-{

$wnd.$("#roundedPanel").corner("5px");

}-*/

;
where "roundedPanel" is the id of the div panel. Though it is invoking the jquery.corner.js it is not rounding it. Is it not possible to round corners using this.
 
 
Thanks 
Sudeep 
 
 

Дмитрий Николаев

unread,
Nov 23, 2009, 8:06:29 AM11/23/09
to Google Web Toolkit
What log say?
Do you really include jquery library ? How do you know this ?

On 22 ноя, 22:14, Sudeep S <sudee...@gmail.com> wrote:
> Hi,
>
> I am trying to use jquery.corner.js to round my panel in gwt using the below
> code
>
> *
>
> public* *final* *native* *void* roundCorner()/*-{

Sudeep S

unread,
Nov 23, 2009, 1:05:18 PM11/23/09
to google-we...@googlegroups.com
my Mistake
 
i called the roundCorner() method before RootPanel.get().add(a);
it worked now ..when i called it after doing RootPanel.get().add(a);
Thanks
Sudeep

 
2009/11/23 Дмитрий Николаев <black...@gmail.com>
--

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.



Reply all
Reply to author
Forward
0 new messages