[Gambas-user] HBox.Margin and .Padding not cumulative?

Tobias Boege taboege at ...626...
Fri May 24 15:10:24 CEST 2013


On Thu, 23 May 2013, Fabien Bodard wrote:
> When margin is set padding and spacing have the size of Margin in pixel

This is another facet, isn't it? I was talking about Margin + Padding, when
set together, are added to make the visible margin, i.e. they are
cumulative.

However it seems to me that your statement isn't true either. If it were
like you said, then as soon as HBox.Margin is set to True, the padding (we
ignore spacing here) would be Desktop.Scale. When I click on the button the
first time, Desktop.Scale is added to HBox.Padding - but visually nothing
happens.

As a consequence, Padding must have still been 0 and Margin and Padding are
*not* cumulative. Or not?

Regards,
Tobi




More information about the User mailing list