• rb

    @mikael said:

    first = True
    def layout(self):
    if self.first:
    self.zoom_to_fit()
    self.first = False

    Perfect exactly what I’m after thankyou Mikel :)

    posted in Pythonista read more
  • rb

    @mikael thanks for replying - this almost does exactly what I’m after yes but it appears to disable any subsequent zooming after the view is initially built.
    I’d like the functionality of the zoom /pan as normal after the initial placement ideally.
    I will try and work out how to re-enable that from your code though - thanks again!

    posted in Pythonista read more
  • rb

    Hi pythoneestas and prob mostly @mikael

    I have a ZoomPanView that has an arbitrary number of images inside it.

    I would like the view to initially when first built to fit entirely inside the screen
    ie the view is much larger than this as it contains many other images.

    I can’t find a way of scaling it such that it’s already “zoomed out” and shows all its contents as it would be if it was “touch zoomed out”.
    It always gets built just showing the top left portion of the first image in its contents.
    I’ve tried .scale .start_scale etc and no luck.

    rich

    posted in Pythonista read more
  • rb

    Thanks that’s exactly what I’m after!

    posted in Pythonista read more
  • rb

    Thankyou - that’s masking an image with a colour and altering the alpha of the colour - isnt there a way to gradually alter an imageViews alpha over time?

    posted in Pythonista read more
  • rb

    Hi I’m trying to load in an image using ui.imageView then setting the alpha to 0.0 and then using ui.animate to alter that alpha to a non zero value. I can’t get this to gradually fade however - the alpha just jumps after the specified time.
    What am I doing wrong here? This simple solution has worked fine for me previously for buttons etc.
    I’m going for a gradually blending slideshow effect.

    posted in Pythonista read more
  • rb

    Hi yes sorry just seen this - that’s indeed the setting but on the mini (iOS) it seems to not be restricted or specific to mail but I could be wrong.Also it could all be a coincidence I guess.

    posted in Pythonista read more
  • rb

    Seems to be working now I changed my reader device (old iPad mini) iCloud settings to passwords/accounts>push data ON an option not on my other iPad (iPad Pro) ...there’s a slight delay but it reads and updates ! Woop!

    posted in Pythonista read more
  • rb

    Hmm yeah it’s the “automatically” bit I want to manually run - ie force the file to update as quickly as possible.

    posted in Pythonista read more
  • rb

    @cvp thanks for your reply - I’m already doing what you suggest ie I have this working such that when I run the program on the “reader” iPad it will read the file I have written to with the other iPad/program.
    My issue is that it only does this once. Ie I run the reader and it works fine but if I change the file with the writer the reader is not updating the data. The reader is constantly checking the file (and I’ve tested this on the writer) but the actual file isn’t changing as I need to refresh/pull the file from iCloud.So what I’m after is a command that will update the iCloud folder or preferably just the file itself.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!