use style for widget properties