Problem with HorizontalLayout && CSS-Margins of sub-components

Hi there,

I have a question related to HorizontalLayout and Margins of subcomponents.

i have a HorinzonalLayout with with of 100% within a panel with a fixed width. So i expect to see no horizontal scrollbar in the panel, but unfortunately i get one :frowning:

My HorizontalLayout contains three buttons, each button has a margin assigned via a css-class.
The first button is aligned middle-left, the other two middle-right, and the first button has an ExpandRatio of 1 the other both of 0.

It looks like the HorizontalLayout does not include the margins into its width-calculation-process.

Would this be a bug or a feature?
I am using 7.0.3.

Best Regards, Andreas