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

Remove default borders of Ti button bar

$
0
0

I need to achieve the same thing (https://drive.google.com/file/d/0B2ZRQfvrNovCSmFzOWd0eFVzTUk/edit?usp=sharing) with Ti button bar but it seems the default border of the button bar does not go away. I tried by changing the styles too but fails to work. Similar to do this : Here is my code:

var bb1 = Titanium.UI.createButtonBar({
        //backgroundColor :'#3E3E3E',// cant set this to #3E3E3E' as button color to be blue(default)   
        //borderColor:'#3E3E3E',
 
        backgroundImage : 'img/pickerbtnBg.png',    //black image
        labels:[{title:'Cancel'}, {title:'Confirm'}],    
        top:0,
        style:Titanium.UI.iPhone.SystemButtonStyle.BAR, 
        height:35,
        width:Ti.UI.FILL
    });
This is what my buttonbar looks like https://drive.google.com/file/d/0B2ZRQfvrNovCQko5ZFlYS1Vtd2M/edit?usp=sharing I am not thinking of using any alternate to this by placing individual buttons inside a view right now. Thanks.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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