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

Tobias Boege taboege at ...626...
Thu May 23 18:27:13 CEST 2013


Hi Benoit,

the wiki[0] says that HBox.Margin and HBox.Padding produce a cumulative
margin when both are defined. This seems to be wrong in reality.

Test project attached. Note that the first click makes HBox.Padding equal to
Desktop.Scale while HBox.Margin is set - but nothing happens. If both
properties were cumulative, shouldn't the margin then be 2*Desktop.Scale?

Regards,
Tobi

[0] http://gambasdoc.org/help/comp/gb.qt4/hbox/margin?v3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hvboxen-0.0.1.tar.gz
Type: application/octet-stream
Size: 4865 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130523/aeb45eb0/attachment.obj>


More information about the User mailing list