Fit backgroundPattern image to a smaller stack
Posted: Fri Oct 27, 2017 2:39 pm
Developing for mobile.
I've important an image in a substack that I want to use as a background in my normal stack. Because the imported image is bigger than the stack, the background now looks strange (too big - because my image is 1.4 times bigger) when I use it as backgroundPattern.
Is there any way to resize the image used for backgroundPattern to fit a slightly smaller stack? I use a bigger image because I don't want the background image to have bad quality if someone uses an iPhone Plus for example.
The alternative seems to be to use an image control with Layer 1, but then it's not possible to tap outside the input fields to remove the keyboard toggle.
Any ideas?
Thanks,
Tom
I've important an image in a substack that I want to use as a background in my normal stack. Because the imported image is bigger than the stack, the background now looks strange (too big - because my image is 1.4 times bigger) when I use it as backgroundPattern.
Is there any way to resize the image used for backgroundPattern to fit a slightly smaller stack? I use a bigger image because I don't want the background image to have bad quality if someone uses an iPhone Plus for example.
The alternative seems to be to use an image control with Layer 1, but then it's not possible to tap outside the input fields to remove the keyboard toggle.
Any ideas?
Thanks,
Tom