Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pythonista - Vertical scrolling
-
Please may I reach out again?, this time for help on scrolling. I have created a PYUI which looks like a spreadsheet created of rows of separate text fields, and action buttons which act upon the text fields in their row.
I might need to have more rows than are visible on a iPad screen so I had hoped to discover how to add a Scroll View from the PYUI library and position it so my overset rows could be scrolled into view. But obviously I have failed.
Has anyone a simple example they could share with me please?
Thanks again.
Alan
-
Here you can find an example with a scrollview including buttons.<br/>
PhoneManager<br/><br/>
Important is to check these parameters<br/>- Mainview width (eg 320) height (eg 504)<br/>
- Scrollview width (eg 320) height (eg 50) # buttons are only 50px high<br/>
- Scrollview content width (eg 1088) content height (eg 50) # so you can place 17 buttons with 64px width<br/>
-
Thank you brumm,
Being an absolute beginner I drowned in that code but I shall persist with it. I figured out how to add a scrollview, and then add items to the subview of that soon after my OP, so slow progress is being made.
-
Have you also seen the ui-tutorial?
-
I had a week or so ago, but did not know then what my head-scratchers were going to be. I'll revisit it. Thanks.