Tuesday, December 23, 2014

Re: How to draw horizontal line (equivalent
tag) in GWT 2.3 ?

This works for me:

panel.add(new HTML("<hr />"));



On Tuesday, June 3, 2014 2:32:50 PM UTC-4, cellepo wrote:
I tried dominique calcinelli's suggestion but could not figure out how to get around this error:
 Node cannot be inserted at the specified point in the hierarchy

So I eneded up just making an <hr/> with HTML Widget instead, per this other related discussion:
https://groups.google.com/forum/#!topic/Google-Web-Toolkit/NMjozOU4UXk


On Friday, February 22, 2013 11:46:26 AM UTC-5, dominique calcinelli wrote:
First create the HTML <hr/> tag :

    InlineHTML hrTag = new InlineHTML().wrap(Document.get().createHRElement());

Then use it as follows :
  
        myPanel.add(hrTag);


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment