Make window padding ratio a modifiable attribute

The window padding ratio should be a property set by the user. This pull request makes it settable via the attribute `windowPaddingRatio`