[TIMOB-4595] iOS: allow access to the scrollEnabled property for a textArea
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-07-11T15:41:28.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | Sprint 2011-27, Release 1.8.0 |
Components | iOS |
Labels | n/a |
Reporter | Jon Alter |
Assignee | Reggie Seagraves |
Created | 2011-07-05T16:09:39.000+0000 |
Updated | 2017-03-08T00:06:33.000+0000 |
Description
Would like to be able to disable scrolling on a textArea by setting "scrollable = false".
var win = Titanium.UI.createWindow();
win.open();
var ta = Ti.UI.createTextArea({
top: 50,
width: 200,
height: 30,
scrollable:false,
backgroundColor: "white"
});
win.add(ta);
-(void)setScrollable_:(id)value
{
[(UITextView *)[self textWidgetView] setScrollEnabled:[TiUtils boolValue:value]];
}
Fixed task type, added pull request link, set fixVersion to this this week for scheduling.
This was committed to master w/o the version being set. Set the fix version.
Closing ticket due to time passed.