-
rb
Hi
I am trying to provide some shortcuts to open some pdfs that I have in a Dropbox folder.
Firstly how do I establish a useable file path to a file in a Dropbox folder?
Secondly how would I open a pdf via Pythonista? I’m thinking quick look or at a push iBooks?thanks
Rich -
-
rb
I turned on and off the “Extra Key Row” option in the “Settings>Keyboard and Typing” option.seems to fix it if it happens.Annoying though!
-
rb
Hi is it possible to display matching paired brackets /curly braces etc? I’m sure this used to be the case.ie if you had a JSON file and selected a curly brace it matching brace would be highlighted /selected in correct location.
Is it possible to change the extra keyboard shortcuts above main virtual keyboard to appear as one large spaced line of options rather than two v small menus on the left and right? Is this an option as again I’m sure it didn’t used to look like this.
Cheers
Rich -
rb
@mikael said:
first = True
def layout(self):
if self.first:
self.zoom_to_fit()
self.first = FalsePerfect exactly what I’m after thankyou Mikel :)
-
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! -
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
-
-
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?
-
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.