Webmaster4o
Sep 06, 2015 - 15:13
Is there any way to add a did_rotate function to a custom view class that is called when the screen dimensions change because I rotated my device?
Is there any way to add a did_rotate function to a custom view class that is called when the screen dimensions change because I rotated my device?
@Webmaster4o, you have it already.
def layout(self):
But if you present a 'sheet' in 1.5 for example, you are not called.because the view size/bounds is the same.
Right. Forgot about that one.