How do I make a TW3ListBox scrollable when the number of items is too large to display in the current display space?
Thanks
TW3ListBox is scrollable by default. Just click and drag (or tap and drag) and it will scroll.
Related
I want to display 250-300 images for scrollview,initially only 10 images i will display after click on show more i need to display again 10 images with scrollview.
i have tried with Scrollable view but it is scroll horizontally?but i need to display images vertically.please help me.
You have the following options to do a vertical scroll view:
Ti.UI.ScrollView
Ti.UI.ListView
Ti.UI.TableView
The second one is the most performant and there are several widgets to help you with adding more images as the user scrolls down.
i want to make my page scrollable.
as you can see in image that, there are 9 buttons and no room for adding more buttons
so, how can i add more buttons and make page scrollable so that any button can be selected?
i already tried to enclose all these button in scroll viewer but it didn't worked, it scrolls but when i release my finger from screen it quickly goes back i.e. i can see buttons which are at bottom but can't select those.
You have to give a particular height to your scrollviewer because by default s always get to set to the height of the contents in it so no scrolling :).
Just Set the Height Property of your Scrollviewer to some value. Like:-
<ScrollViewer Height="700">
Content..
</ScrollViewer>
cheers :)
When user clicks on the scroll bar arrow, the content shifts very slow(horizontal offset changes on 16). How can I increase the speed of shifting when I click on arrows?
(SmallChange doesn't work)
Unfortunately, it's quite hard-coded in the scroll viewer.
The only way I know of, is to make a new panel based on the panel that you want to use in the scroll viewer, and implement IScrollInfo for it.
Then, setting this panel as the content of the scroll viewer and setting CanContentScroll to true.
StackPanel implements IScrollInfo but other panels do not.
I have an app that has a list of tags on the bottom of the window. This list grows over time and needs to be scrolled horizontally. This was fine before, but now in Lion they scrollbars automatically hide. If using a mouse without a horizontal scroll, there's basically no way to scroll these now in Lion. What are the best practices here to solve the issue? Do I need to get rid of the scrollview and change it to a "More" list or something?
If the user doesn't have a device available which supports touch-based scrolling (e.g, a touchpad, Magic Trackpad, or Magic Mouse), the horizontal scrollbar won't be hidden by default. It's controlled by this preference option:
In my app I use a page control and a UIScrollView to page horizontally, I'd like to be able to enable vertical scrolling on each page. Now I know you can nest UIScrollViews in order to achieve this, there is however one problem in my project. Each of the pages uses a view controller consisting of a view, with a background image (different image for each page). This background image should not move while scrolling up and down.
Now what I want is the ability to have buttons, regular rect buttons, which I create in Interface Builder (since I want to be able to design and update the positions easily) and which then can be scrolled vertically.
So it should be like this:
You see a screen with a page-control on the bottom, above it an image with buttons over it. When you scroll sideways, you go to another page, again with an image (another one) and with different buttons. Now whenever you scroll vertically on a page, the buttons should be scrollable (so I can have a LOT of buttons on 1 page), but the image should maintain it's position.
So I figured, I just add another scroll view on top of the view with the background image. This works fine since I now have my buttons hovering over the background image and I have a separate nib file for each page including the buttons. But when I do it like this, the scrollview with the buttons becomes un-scrollable vertically. I don't know why this is happening, so could anyone suggest me how to achieve the wanted result?
I'd be really really grateful!
Thanks,
Fabian