Skip to Content
0
Sep 20, 2012 at 09:58 PM

Bug report XML view HorizontalLayout v1.4.2

21 Views

Hello again.

Another bug report while I'm looking at it. Again if this is the wrong place I apologize.

In version 1.4.2 and with the following XML view I get an error:

Error: Cannot add direct child without default aggregation defined for control sap.ui.commons.layout.HorizontalLayout

Code:

<layout:HorizontalLayout id="hLayout1">

<Button id="a" text="generate" tooltip="generate"/>

</layout:HorizontalLayout>

However, vertical layout works just fine:

<layout:VerticalLayout id="hLayout1">

<Button id="a" text="generate" tooltip="generate"/>

</layout:VerticalLayout>

Note that this error does not occur in version 1.6.2 so maybe not so important.

Cheers

Martin