[TIMOB-9460] iOS: TextArea: The border of the label hides the text of the label.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.0, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, qe-ios060112, reprod |
Reporter | Neha Chhabra |
Assignee | Unknown |
Created | 2012-06-08T04:08:35.000+0000 |
Updated | 2018-02-28T20:03:26.000+0000 |
Description
The border of the label hides the text within the label.
This is not a regression.This occurs as far as 1.8.2.
Steps to Reproduce:
1. Run the below code on device.
app.js
var _window=Ti.UI.createWindow ({
backgroundColor : 'blue'
})
var l1 = Titanium.UI.createLabel({
height:Ti.UI.SIZE,
width:182,
font:{fontSize:12,fontFamily:'ARIAL', fontWeight:'solid'},
color:'#000',
textAlign:'left',
top:20,
borderWidth:2,
borderColor:'#bbb',
borderRadius:10,
text:"This test is to ensure that the text is coming as it as it should be. the text should not be hidden by the border of the label."
});
_window.add(l1);
_window.open();
Expected Result:
The text should be visible properly within the label.
Actual Result:
The border of the label hides the text within the label.
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
I have been able to reproduce this issue with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.1.0.v20170519131839 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80