Roassal multiline popupText ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal multiline popupText ?

philippeback
I'd love to have multiline popupText.

dsEvents := RTDataSet new.
dsEvents interaction
                popupText: [ :point |
                   
                        'coll: {1} - ts: {2} / {3} -- {4} - {5}'
                                format: {
                                        key.
                                        (point ts asSeconds - start) printString.
....

How can I do that?

Looks like the thing is single line.


TIA
Phil

Reply | Threaded
Open this post in threaded view
|

Re: Roassal multiline popupText ?

Nicolai Hess

popupText:[: ...|

'line1\line2' withCRs ]

does this work?




2015-05-07 21:52 GMT+02:00 [hidden email] <[hidden email]>:
I'd love to have multiline popupText.

dsEvents := RTDataSet new.
dsEvents interaction
                popupText: [ :point |
                   
                        'coll: {1} - ts: {2} / {3} -- {4} - {5}'
                                format: {
                                        key.
                                        (point ts asSeconds - start) printString.
....

How can I do that?

Looks like the thing is single line.


TIA
Phil


Reply | Threaded
Open this post in threaded view
|

Re: Roassal multiline popupText ?

abergel
In reply to this post by philippeback
hi Phil!

As Nicolai said, it is supported.
Try:


Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On May 7, 2015, at 3:52 PM, [hidden email] wrote:

I'd love to have multiline popupText.

dsEvents := RTDataSet new.
dsEvents interaction
                popupText: [ :point |
                   
                        'coll: {1} - ts: {2} / {3} -- {4} - {5}'
                                format: {
                                        key.
                                        (point ts asSeconds - start) printString.
....

How can I do that?

Looks like the thing is single line.


TIA
Phil