Line break in Views?


#1

Hi all,

just wondering, how I can I achieve a linebreak:

$Logview = $app->add([“View”]);
$teststring = “Test\nTest
test”;
$Logview->Set($teststring);

This leads to
Test Test
Test

I would like to have:
Test
Test
Test

Any help on this ?
Thanks.


#2

Found out by myself:
The “Text” object is not rendered,

$Logview = $app->add([“Text”]);


#3

you can also use $app->add(['ui'=>'separator']); or also with 'hidden separator'.