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 05:41 Go to next message
Song David is currently offline Song David
Messages: 187
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 04:52 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 382
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 10:51 Go to previous message
Song David is currently offline Song David
Messages: 187
Registered: April 2011
Senior Member
thanks Tim, overwriting the style of span can work well.
Best Regards
David
Previous Topic:chart tools for RAP
Next Topic:Logout Action
Goto Forum:
  


Current Time: Mon Sep 01 19:33:03 EDT 2014

Powered by FUDForum. Page generated in 0.02345 seconds