Style.Orientation gone?


#1

Hi,

I’ve just upgraded to 2.8 to find out that the Style.Orientation property seems to be gone.
Any reason/workaround for this?

Regards

Kai


#2

Dear Kai,

It’s obsolete and removed in v2.8. Please use Style.Rotation for the same purpose.


#3

Laurence,

thanks for this hint; sure I have replaced my code using a +90/-90 degrees rotation.

Maybe for the future: Instead of silently removing a property/method you could keep it for a couple of releases but issue a compiler warning in case someone uses the property.

Regards

Kai


#4

Hi Kai,

Thanks for your suggestion.

Actually in the API reference, we already obsolete this property about one year before. We will add compiler warnings for other obsoleted methods or properties.