Details

      Description

      Description

      minimumFontSize doesn't work on Ti 3.2.x

      Reproduce steps

      1. create mobile project (not alloy)
      2. copy below source to app.js

      var win = Ti.UI.createWindow({
          backgroundColor : 'white'
      });
       
      var label = Ti.UI.createLabel({
          top : 100,
          width : 300,
          height : 300,
          font : {
              fontSize: 100
          },
          borderColor : 'red',
          minimumFontSize : 10,
          text : 'This text shold be small.'
      });
       
      win.add(label);
      win.open();
      

      3. run in ios simulator

      Actual result:

      the label content is limited to a single line.
      There is no font size scaling.

      Respected result:

      minimumFontSize property enable font scaling to fit and forces the label content to be limited to a single line.

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              yomybaby Jong Eun Lee
              Reviewer:
              Sabil Rahim
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code