Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6057] Label doesn't align vertically if property minimumFontSize is used

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-12-22T22:47:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios, regression
ReporterFabian Martinez
AssigneeShak Hossain
Created2018-12-12T14:57:12.000+0000
Updated2018-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

FileDateSize
label-7.4.1.GA.jpg2018-12-12T14:52:26.000+000061206
label-7.5.0.GA.jpg2018-12-12T14:57:08.000+000062068

Comments

  1. Rakhi Mitro 2018-12-13

    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.
  2. Fabian Martinez 2018-12-14

    This is a listview. I can't provide a test project right now.
  3. Sharif AbuDarda 2018-12-15

    Hello [~inzori], We need a sample code to reproduce the issue on our end. We will keep the ticket open for now. Thanks.

JSON Source