Initial support for widgets using the platform style when using the new API