- This topic has 9 replies, 3 voices, and was last updated 12 years, 6 months ago by apoetz.
-
AuthorPosts
-
apoetzMemberMoved from Examples, HOW-TOs forum by support-octavio
Hi there,I am using the most recent version of MobiOne (I downloaded it June 2012). I am creating an app in landscape orientation, which requires a scrollbar for some of the screens because there is a lot of text.
I have tried everything – I put a transparent panel over the text boxes on the screen – placed it at the top, at the back, changed the height settings, and tried every possible combination of the options available (e.g. I checked and unchecked the boxes called “scroll background” and “bounce effect” and it doesn’t fix the problem).
Can you please send step-by-step instructions for creating a scrollbar on a screen where I have multiple stacked textboxes?
Thank you in advance,
support-octavioMemberHi apoetz,
Did you tried adding all your widgets in the transparent panel to achieve your desired design?
Unknown AuthorParticipantMaybe stupid question: have you put the text boxes IN the panel – not just under it?
apoetzMemberHi again, thank you both for your help. I re-did it and placed all the widgets inside the transparent panel, and the text at the bottom of the window appears cut off when I try to scroll down. I have incrementally increased the panel height to 540 (and this is the “height” on a landscape oriented iPod app – so really the width of an iPod) and it doesn’t seem to help.
I have no idea what the “bounce” is supposed to do, or “scroll background” – it doesn’t seem to make a difference when I turn them on/off…?
Could someone please walk me through step-by-step how to put in a scrollbar, so that I can figure out what I am doing wrong?
Thanks in advance!
Unknown AuthorParticipantKeep increasing the panel height. If you don’t know the size of your content, then increase it to some large number like 2000 or 3000, then decrease it to fit your content.
-1TC
apoetzMemberThank you – it didn’t work though. Wondering if you could please have a look at the file I am attaching, and tell me what I’m doing wrong?
Attachments:
You must be logged in to view attached files.
support-octavioMemberHi apoetz,
I review your project and I think you didn’t see the scrollbar, notice in my attached image that the scrollbar is shown when the panel is selected in the Outline View. Also I noticed that you are using textfields to show the text, that doesn’t allow to scroll the page because the textfield gets the focus. Please try with the Text Widget.
See attachment scrollbar.png
Attachments:
You must be logged in to view attached files.
apoetzMemberThank you for your reply…I did see the scrollbar, it just didn’t function the way it was supposed to when I was testing it. Thanks also for the tip on using a text widget instead of a text field…I ended up using the text field because it allows the text to wrap automatically, whereas the text widget does not…the text goes off the right hand side and gets cut off.
How would you suggest I use the text widget AND get the text to wrap? Thank you for all your help 🙂
support-octavioMemberHi,
Please see the next example about Replace long wrapping text and let me know if is helpful for you.
http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=2459
apoetzMemberIt worked – I figured it out and got it working. Thank you everyone for your help!
-
AuthorPosts