Ich versuche, einen Text mit Unterstrichen zu machen, aber ich diese Warnung erhalte.Text unterstreicht - create
Screenshot here!
Der Code ist:
var texto= L("txt_olvide_password");
var attr = Titanium.UI.createAttributedString({
text: texto,
attributes: [ { type: Titanium.UI.ATTRIBUTE_UNDERLINES_STYLE, range: [0,texto.length] }, ]
});
var lblOlvidePassword = Titanium.UI.createLabel({
top: '58%',
color: clr_aux1,
font: { fontFamily: font_primaria, fontSize: 16 },
attributedString: attr
});
vistaLogin.add(lblOlvidePassword)
Was mache ich falsch? danke im voraus.
Titanium Appcelerador 4.5.0 SDK: 5.2.0 iOS/Android
Danke Thomas! –