19declare(strict_types=1);
35 $ui_factory =
$DIC[
'ui.factory'];
38 $tpl->
addCss(
'assets/ui-examples/css/alignment_examples.css');
40 $edl = $ui_factory->layout()->alignment()->horizontal()->evenlyDistributed(
41 $ui_factory->legacy()->content(
'<div class="example_block fullheight blue">Example Block</div>'),
42 $ui_factory->legacy()->content(
'<div class="example_block fullheight green">Another Example Block</div>'),
43 $ui_factory->legacy()->content(
'<div class="example_block fullheight yellow">And a third block is also part of this group</div>')
addCss(string $a_css_file, string $media="screen")
Add a css file that should be included in the header.
readonly ilGlobalTemplateInterface $tpl