[AC-5926] Button title is underlined on real device an not in iOS simulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-11-28T22:40:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Joachim Mollin |
Assignee | Shak Hossain |
Created | 2018-09-21T11:03:32.000+0000 |
Updated | 2018-11-28T22:40:58.000+0000 |
Description
Steps to Reproduce
Button title is underlined on real device an not in iOS simulatorActual Result
button title underlinedExpected Result
button title not underlinedAttachments
File | Date | Size |
---|---|---|
.log | 2018-09-21T11:03:51.000+0000 | 8453242 |
Bildschirmfoto 2018-09-21 um 23.20.02.png | 2018-09-21T21:21:47.000+0000 | 347158 |
diagnostic4761515509901473023.log | 2018-09-21T11:04:04.000+0000 | 683964 |
IMG_1266.JPG | 2018-09-21T21:17:30.000+0000 | 896374 |
Hello, There is no description given, SDK, CLI and iOS version. We need a sample reproducible code for testing the issue. Thanks.
cannot send you whole app. Its too big. can send you the example code of a button. But that is nothing special. very interesting is the fact, that it don't occur on an iPad. Just iPhone X. Couldn't test with other iPhone hardware. Can open to you the App on a test flight but need an email address for it. var btCreate = Ti.UI.createButton({ height: 40, width: 200, color:'#000000', font: { fontSize:16, fontWeight:epr.fontWeightNormal }, borderRadius:0, backgroundImage:'none', backgroundColor: epr.btColor1, backgroundGradient:{ type:'linear', colors:[epr.btColor1,epr.btColor2] }, top: 295, left: 15, title:L('register','Registrierung') }); registerBox.add(btCreate);
using 7.4.0 GA all new updates installed, Xcode 10 but also happens unter 7.3.1 and Xcode 9.3
Hi, I found out that this happens if I use the button.title attribute. If I use a (not documented) button.text attribute it works fine. What are your recommendations?
Hello, use the button text attributes. Thanks.