Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20513

iOS: Activity indicator label cut off when auto layout is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS
    • Environment:

      iOS 9.2.1
      Latest SDK Master

    • Story Points:
      3
    • Sprint:
      2016 Sprint 23 SDK

      Description

      Steps to reproduce

      1. create a new titanium app
      2. use this code

      var win = Ti.UI.createWindow({
        backgroundColor: 'white'
      });
       
      var indicator = Ti.UI.createActivityIndicator({
        color: 'green',
        font: {fontFamily:'Helvetica Neue', fontSize:26, fontWeight:'bold'},
        message: 'Loading...',
        style: Ti.UI.ActivityIndicatorStyle.DARK
      });
       
      win.addEventListener('open', function (e) {
        indicator.show();
      });
      win.add(indicator);
      win.open();
      

      3. In tiapp.xml, include this property

      	<ios>
      		<use-autolayout>true</use-autolayout>
      

      Expected result

      indicator spinning with text "Loading"

      Actual result

      indicator spinning with text "Loading" cut off.

      Compare attached screenshots

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                cng Chee Kiat Ng (Inactive)
                Reviewer:
                Hans Knöchel
                Tester:
                Abir Mukherjee
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-7020
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration