use rounded corners if corresponding API is available in IDEA