[TIMOB-11366] iOS: StyledLabel module 1.5.2 doesn't have transparent background colour
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-10-18T00:21:34.000+0000 |
Affected Version/s | Release 2.1.2, Release 2.1.3, Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Mads Moller |
Assignee | Ingo Muschenetz |
Created | 2012-10-04T20:04:43.000+0000 |
Updated | 2014-06-19T12:43:47.000+0000 |
Description
*Problem*
It is not possible to have a transparent background with the iOS module: StyledLabel version 1.5.2. It remains a white background.
*Expected result*
The StyledLabel should be able to have a transparent background.
*Note*
This question has also been asked here 2 months ago:
https://marketplace.appcelerator.com/apps/790/questions/943?1603158271
This is despite having "iOS: The background of the styled label view is now transparent." in the v1.3 changelog.
*Code*
var win = Ti.UI.createWindow({
title : 'StyledLabel',
backgroundColor: '#FF00FF'
});
var StyledLabel = require('ti.styledlabel');
var html = 'Testing 123';
var label = StyledLabel.createLabel({
height : Ti.UI.SIZE || 'auto',
top : 5,
right : 5,
bottom : 5,
left : 5,
html : html,
backgroundColor: 'transparent'
});
win.add(label);
win.open();
Tested and confirmed ti.styledlabel module version 1.5.2, iOS 5.1, TiSDK 2.1.2 GA, 2.1.3 GA, 3.0.0.
Ok, thanks for finding that one. Admittedly I didn't search the module JIRAs in this case. I'll close this as duplicate.
Hi Daniel and Ian, So where can I watch the old original ticket?
Hi Mads, TIMODOPEN-123? You should be able to just click the "Watch" link under Reporter.
Sorry I meant to reference TIMODOPEN-129.
I've asked our module manager about this issue and should have an update for you very soon.
Hello. I dont have access to the first jira ( TIMOB-11363 ). A solution has been found ? In the current version of the styledLabel module (iphone : '1.5.4', android: '2.0.1') the problem is still here.
Hello. I dont have access to the first jira ( TIMOB-11363 ). A solution has been found ? In the current version of the styledLabel module (iphone : '1.5.4', android: '2.0.1') the problem is still here.
Hi, This property has been added and is in the process of being merged. There will be an update soon. Thanks.
1.5.4 doesn't work: backgroundColor : 'transparent'
Forgot to mark - Titanium SDK 3.1.1 GA