开发者

Having a a large heading in coloumn headings using GWT

Im having trouble with writing coloumn names using a FlexTable in GWT my code is as follows:

public class TemplateWebInterface implements EntryPoint
{

      final protected FlexTable _templatesFlexTable  = createTable("Template Name", "Added", "Modified");

      public void onModuleLoad()
   { 
    _mainPanel.add(_templatesFlexTable);
    RootPanel.get().add(_mainPanel);

   }

}

So for "Template Name" I need it to come开发者_Go百科 out like

 Template <br /> Name

I hope the question is understandable, any help is appreciated.


FlexTable support setWidget as well as setHTML. You can use either of these for your headers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜