Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5926] Button title is underlined on real device an not in iOS simulator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2018-11-28T22:40:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJoachim Mollin
AssigneeShak Hossain
Created2018-09-21T11:03:32.000+0000
Updated2018-11-28T22:40:58.000+0000

Description

Steps to Reproduce

Button title is underlined on real device an not in iOS simulator

Actual Result

button title underlined

Expected Result

button title not underlined

Attachments

FileDateSize
.log2018-09-21T11:03:51.000+00008453242
Bildschirmfoto 2018-09-21 um 23.20.02.png2018-09-21T21:21:47.000+0000347158
diagnostic4761515509901473023.log2018-09-21T11:04:04.000+0000683964
IMG_1266.JPG2018-09-21T21:17:30.000+0000896374

Comments

  1. Sharif AbuDarda 2018-09-21

    Hello, There is no description given, SDK, CLI and iOS version. We need a sample reproducible code for testing the issue. Thanks.
  2. Joachim Mollin 2018-09-21

    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);
  3. Joachim Mollin 2018-09-21

    using 7.4.0 GA all new updates installed, Xcode 10 but also happens unter 7.3.1 and Xcode 9.3
  4. Joachim Mollin 2018-10-01

    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?
  5. Sharif AbuDarda 2018-11-28

    Hello, use the button text attributes. Thanks.

JSON Source