[AC-2031] When we use borderRadius in an view and add to the view textField then we have bug!
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-04-02T23:46:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | android, bug, orientation |
Reporter | Maxim Khrichtchatyi |
Assignee | Mauro Parra-Miranda |
Created | 2013-03-29T12:13:48.000+0000 |
Updated | 2016-03-08T07:40:59.000+0000 |
Description
When we use borderRadius in an view and add to the view textField then we have bug! Titanium teem please pay attention to this problem)
Video with problem http://www.youtube.com/watch?v=S0Yi-6ZKDcw
Code example:
function ApplicationWindow() {
var self = Ti.UI.createWindow({
backgroundColor:'#ffffff',
navBarHidden:true,
exitOnClose:true
});
var scroll = Ti.UI.createScrollView({
showHorizontalScrollIndicator:false,
showVerticalScrollIndicator:true,
backgroundColor:'#333',
contentHeight:'auto',
contentWidth:'auto',
scrollType:'vertical'
});
var fieldCont = Ti.UI.createView({
borderRadius:5.0,
borderColor:'#ecf0f1',
borderWidth:2.0,
top:'20dp',
backgroundColor:'#f00',
width:'300dp',
height:'50dp'
});
var input = Ti.UI.createTextField({
hintText:'blabla',
value:'blabla',
backgroundColor:'#fff'
});
fieldCont.add(input);
scroll.add(fieldCont);
self.add(scroll);
return self;
}
No values are set so the field will go off screen.
I set values and nothing!...
Invalid issue.