[TIMOB-25688] parity for android for the fontWeight of fonts
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | parity |
Reporter | cstefaniga |
Assignee | Unknown |
Created | 2018-01-18T08:45:29.000+0000 |
Updated | 2019-12-04T09:14:55.000+0000 |
Description
According to appcelerator docs for the fontWeights property of font there are available values like "semibold", "thin", "light", "ultralight" but these can be used only on iOS so what I need is to make them available on android also.
https://docs.appcelerator.com/platform/latest/#!/api/Font
here is the code with which you can test different fontWeights
var win = Ti.UI.createWindow({
backgroundColor: 'white',
exitOnClose: true,
fullscreen: false,
layout: 'vertical',
title: 'Label Demo'
});
var normal = Ti.UI.createLabel({
color: 'black',
font: {
fontSize : 40,
fontWeight : 'normal'
},
text: 'A simple label'
});
var bold = Ti.UI.createLabel({
color: 'black',
font: {
fontSize : 40,
fontWeight : 'bold'
},
text: 'A simple label'
});
win.add(normal);
win.add(bold);
win.open();
Thanks for the ticket, Our engineers will look into it.
any progress?
you can close it