This is the portion of the code that is relevant. The main view (named "view") has a button named "AddNext" that when pressed opens a subview from the function "add_next". This all works fine but I would like the subview to be smaller than the main view.
Here is the crux of the code:
add_view = ui.View(frame = (0, 100, 414, 736))
w, h = ui.get_screen_size()
view=ui.View(name='test', bg_color='#D98880', frame=(0, 0, w, h))
add_button = ui.Button(title='AddNext', frame=(250,65,280,100),border_color='black', border_width=2, corner_radius = 10, tint_color = 'black', background_color='yellow', action=add_next, font=('Arial Rounded MT Bold',18))
nav_view = ui.NavigationView(view)
Is it possible to change the size of a navigation subview on an iphone? I have tried setting the frame parameters which hasn't worked. I have tried setting the bound parameters which will affect where the widgets are placed in the subview but not the size of the subview. Is there any way to resize the subview and, if so, how?
I downloaded the Shortcuts app and have been trying to get it to open my pythonista script. When I run the shortcut, I keep getting a "file not found" error. I've tried various pathnames to the file and none seem to work. The script is in a subfolder in the "This iPhone" folder. I tried moving the script to the "This iPhone" folder and that doesn't work either. Any suggestions?