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

Windows: Label with height should render text vertically centered

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.3.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      5
    • Sprint:
      2016 Sprint 10 SDK

      Description

      Label with height should set label height accordingly and render text vertically center by default.

      var win = Ti.UI.createWindow({ backgroundColor: 'white' });
       
      var view = Ti.UI.createLabel({
          text: "ABC",
          height: 100,
          width: 100,
          color: "#C41230",
          backgroundColor: "#F2D0D6",
          textAlign: "center",
      });
       
      win.add(view);
      win.open();
      

      actual

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Reviewer:
                Christopher Williams
                Tester:
                Josh Longton
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code