added support for edgeInsets