[AC-6057] Label doesn't align vertically if property minimumFontSize is used
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Needs more info |
| Resolution Date | 2018-12-22T22:47:03.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | ios, regression |
| Reporter | Fabian Martinez |
| Assignee | Shak Hossain |
| Created | 2018-12-12T14:57:12.000+0000 |
| Updated | 2018-12-22T22:47:04.000+0000 |
Description
The label text moves up instead of remain centered aligned.
It was working fine in 7.4.1.GA. This bug was introduced in 7.5.0.GA by this PR: https://github.com/appcelerator/titanium_mobile/pull/10006
It would be better to have a setter for the property
baselineAdjustment instead of setting it to UIBaselineAdjustmentNone.
Attachments
| File | Date | Size |
|---|---|---|
| label-7.4.1.GA.jpg | 2018-12-12T14:52:26.000+0000 | 61206 |
| label-7.5.0.GA.jpg | 2018-12-12T14:57:08.000+0000 | 62068 |
Hello, Thanks for reporting this. Are you experiencing this on tableview or listview? It would be helpful if you can share a test project to reproduce this issue on our end.
This is a listview. I can't provide a test project right now.
Hello [~inzori], We need a sample code to reproduce the issue on our end. We will keep the ticket open for now. Thanks.