REQEST: Add setFrameBorder(boolean) to Frame

42 views
Skip to first unread message

IamRobe...@gmail.com

unread,
Jul 25, 2006, 12:21:43 PM7/25/06
to Google Web Toolkit
As far as I can tell the border CSS style has been broken in IE for a
long time, so you need to use the DOM to turn off the border on a
Frame. Like this:

Frame f = new Frame();
DOM.setIntAttribute(f.getElement(), "frameBorder", 0);

I think it would be better to add a method for this instead of having
to use a DOM call. It would avoid some confusion by adding this to the
API.

f.setFrameBorder(false);

Rob

yanick

unread,
Jul 26, 2006, 8:27:54 AM7/26/06
to Google Web Toolkit
What about a more standard approach : f.setBorder( NULL ); , and have a
Java like border factory class ?

Reply all
Reply to author
Forward
0 new messages