is not implemented for the following components:
- Button
- ScrollView
- WebView
- TextField
- ScrollableView
- Switch
- TextArea
- SearchBar
- Slider
It is likely that these components need
var win = Ti.UI.createWindow({ backgroundColor: 'purple' }),
scrollView = Ti.UI.createScrollView({
layout: 'vertical',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
button = Ti.UI.createButton({
backgroundColor: 'orange',
title: 'BUTTON',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
textField = Ti.UI.createTextField({
backgroundColor: 'orange',
text: 'TEST TEXT',
width: Ti.UI.FILL,
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
scrollableView = Ti.UI.createScrollableView({
backgroundColor: 'orange',
width: Ti.UI.FILL,
height: 70,
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
toggle = Ti.UI.createSwitch({
backgroundColor: 'orange',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
textArea = Ti.UI.createTextArea({
backgroundColor: 'orange',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
searchBar = Ti.UI.createSearchBar({
backgroundColor: 'orange',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5
}),
slider = Ti.UI.createSlider({
backgroundColor: 'orange',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5,
width: '50%'
});
scrollView.add(button);
scrollView.add(textField);
scrollView.add(scrollableView);
scrollView.add(toggle);
scrollView.add(textArea);
scrollView.add(searchBar);
scrollView.add(slider);
win.add(scrollView);
win.open();
master: https://github.com/appcelerator/titanium_mobile_windows/pull/787
Verified using: OS: Microsoft Windows 10 Pro 10.0.14393 Appc core: 6.0.0-61 Appc NPM: 4.2.8-8 Ti SDK: 6.0.0.v20161017194738 borderRadius property now works for Titanium.UI.Button, Titanium.UI.ScrollView, Titanium.UI.WebView, Titanium.UI.TextField, Titanium.UI.ScrollableView, Titanium.UI.Switch, Titanium.UI.TextArea,Titanium.UI.SearchBar, and Titanium.UI.Slider Closing ticket