L
L
Lihonosov2012-02-01 21:45:27
Eclipse
Lihonosov, 2012-02-01 21:45:27

Eclipse RCP TableViewer - Multiline on Windows?

Is it possible under Windows to implement multiline in the standard TableViewer other than how to draw it yourself?
Those. under Linux, everything is fine and the text “one\ntwo” will be displayed in two lines, but on Windows there is an option only to draw it yourself (OwnerDrawLabelProvider), but then all lines are the same height.
Maybe someone met some "component"? I would be grateful for a hint.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
asm0dey, 2012-02-02
@asm0dey

What if you try \r\n?

B
Beholder, 2013-11-29
@Beholder

This is non-standard, you need to draw yourself. From ready-made widgets, you can try NatTable or Nebula Grid .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question