In Pivot2.0 you would be able build your own Renderer around a TextArea, and use that Renderer in your TableView.
However, since that functionality is not yet fully available, I would suggest building a Renderer around a FlowPane, split the string up into Label's inside the FlowPane, and set the font style to bold on the correct Label components. -- Noel Grandin On Fri, Jun 18, 2010 at 21:05, JohnRodey <[email protected]> wrote: > > We've discussed before adding textual highlighting to a textarea, in which > case I created a decorator to draw a colored box around the selected text. > > I would now like to bold certain words in a string within a tableview cell. > I don't think the decorator approach will work, at least not as simply, > because drawing bolded text on top of the regular text will result in a > longer string (in most fonts) and the two will not match up. > > Any ideas? > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/Adding-bolded-text-to-TableView-Cell-tp906255p906255.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com. >
