Quantcast
Viewing all articles
Browse latest Browse all 8068

ScrollIndicator not visible if ScrollView has a B

I've noticed that the scrollIndicator is not visible if its ScrollView has a border.

You can see it in the following example:

var win = Ti.UI.createWindow({navBarHidden:true});
var cont = Ti.UI.createScrollView({
    borderWidth:"10dp",
    borderColor:"#eee",
    backgroundColor:"#fff",
    layout:"vertical",
    showVerticalScrollIndicator:true
});
 
win.add(cont);
var square = Ti.UI.createView({
    height:"2000dp",
    width:"100dp",
    backgroundGradient:{
        colors:["#f00","#00f"],
        startPoint:{x:0,y:0},
        endPoint:{x:0,y:"100%"}
    }
});
 
cont.add(square);
 
win.open();
Is this a bug?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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