added support for padding widget attributes