Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Scroll view not scrolled when setting the height of the child view to Ti.UI.SIZE Titanium

$
0
0

I have a scroll view which has a content height to auto and inside of it i have a view which contain all the UI element i'm using but my problem is when i set the height of the view to Ti.UI.SIZE

the scroll view not scrolled it's just scrolled in case of i add a fixed number e.g. 2000 to the child view height

Here is the code

var scrollView = Ti.UI.createScrollView({
    contentWidth : 'auto',
    contentHeight : 'auto',
    backgroundColor : '#fff',
    showVerticalScrollIndicator : false,
    showHorizontalScrollIndicator : false,
    height : "100%",
    width : "100%",
    top : 36.6
});
 
var view = Ti.UI.createView({
    backgroundColor : '#fff',
    borderRadius : 0,
    height :Ti.UI.SIZE,
    width : Ti.UI.FILL
});
i don't any extra space at the bottom of the view so how i can accomplish this ,and thanks in advance

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>