Ensured widget configuration for margin attributes