19 declare(strict_types=1);
41 $ui_factory = $DIC[
'ui.factory'];
44 $tpl->addCss(
'assets/ui-examples/css/alignment_examples.css');
46 $icon = $ui_factory->image()->standard(
"assets/images/logo/HeaderIconResponsive.svg",
"ilias");
48 $ui_factory->legacy()->content(
'<div class="example_block fullheight blue">Example Block</div>'),
50 $ui_factory->legacy()->content(
'<div class="example_block fullheight green">Another Example Block</div>'),
52 $ui_factory->legacy()->content(
'<div class="example_block fullheight yellow">And a third block is also part of this group</div>')
55 $dynamic = $ui_factory->layout()->alignment()->horizontal()->dynamicallyDistributed(...$blocks);
56 $evenly = $ui_factory->layout()->alignment()->horizontal()->evenlyDistributed(
63 $vertical = $ui_factory->layout()->alignment()->vertical(
64 $ui_factory->legacy()->content(
'<div class="example_block fullheight red">The block above.</div>'),
66 $ui_factory->legacy()->content(
'<div class="example_block fullheight red">The block below.</div>')
nested()
expected output: > ILIAS shows several sections.