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

Fabien Bodard gambas.fr at ...626...
Thu May 23 23:58:19 CEST 2013


When margin is set padding and spacing have the size of Margin in pixel
Le 23 mai 2013 18:31, "Tobias Boege" <taboege at ...626...> a écrit :

> 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
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>



More information about the User mailing list