fix groupbox margin Issue #399

use the templating margin to padding instead to margin property
![2013-04-04_11h29_01](https://f.cloud.github.com/assets/658431/338291/86450ecc-9d0a-11e2-81bc-be0bd6ab4557.png)