Skip to first unread message

Gundo Phathela

unread,
Nov 30, 2015, 9:02:33 AM11/30/15
to MIT App Inventor Forum

Hi,
I am struggling to figure out how to enable scrolling on my app design. I do not have the ScrollArrangement in my Layout tab. How do enable scrolling in my app?
ScrollArrangement.png

SteveJG

unread,
Nov 30, 2015, 9:10:45 AM11/30/15
to mitappinv...@googlegroups.com
Horizontal Scroll and Scroll Arrangement are not available on App Inventor 2.  To scroll vertically, check the Scrollable box for Screen1 in the Properties (the right side of the browser Designer screen)..  

Your image is from a version of App Inventor Classic that is no longer available.  AI2 does not have a control that allows horizontal scrolling. You might be able to use Taifun's example:  

We want you to have fun with App Inventor Gundo so here are some resources to help you learn to use the AI2 tools  A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  

How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .


Regards,
Steve

Scott Ferguson

unread,
Dec 1, 2015, 10:51:54 AM12/1/15
to mitappinv...@googlegroups.com
As an experiment I used a slider component to scroll some buttons, a textbox and a label horizontally.
This was done by changing the size of a HorizontalArrangement to push and pull them left and right.
It is clunky but it works :-)
Dragging left and right across a small canvas will work as well to move such an arrangment.
You can also move a canvas itself by dragging it in this way.
See attached project.


---
sf
SliderHorizontalScroll.aia
Message has been deleted
Message has been deleted
Message has been deleted

Scott Ferguson

unread,
Dec 1, 2015, 5:22:50 PM12/1/15
to MIT App Inventor Forum
Here is another method that uses a thin Canvas at the bottom of the screen to scroll the arrangment left and right.

---

sf



CanvasHorizontalScroll.aia
Reply all
Reply to author
Forward
0 new messages