Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to set the text in table or tree cell to wrap?
How to set the text in table or tree cell to wrap? [message #1088590] Sat, 17 August 2013 09:41 Go to next message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Hi all,
I try to set the text in table or tree cell to wrap by using RWT.MARKUP_ENABLED and set the style of span tag, but rap does not support the css like word-wrap:break-word. how to do it?

Best Regards
David
Re: How to set the text in table or tree cell to wrap? [message #1089794 is a reply to message #1088590] Mon, 19 August 2013 08:52 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

> the style of span tag, but rap does not support the css like
> word-wrap:break-word. how to do it?

Rap doesn't really "support" any CSS, the browser does.
As far as I can tell you want the browser to auto-wrap the cell text,
which possibly doesn't work because RAP sets white-space:nowrap; We
usually just us <br/>, but you could try overwriting white-space in your
span.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to set the text in table or tree cell to wrap? [message #1089986 is a reply to message #1089794] Mon, 19 August 2013 14:51 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
thanks Tim, overwriting the style of span can work well.
Best Regards
David
Previous Topic:Scrolling table placed on ScrolledComposite
Next Topic:ckeditor Custom Widget example - JS unpacked
Goto Forum:
  


Current Time: Tue Apr 23 06:13:38 GMT 2024

Powered by FUDForum. Page generated in 0.03427 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top