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

Label's getRect method returns "not a function" on Windows Phone 8.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Windows 8.1, Appc Studio 4.3.3.201510212245, TiSDK 5.0.2GA

    • Story Points:
      5
    • Sprint:
      2015 Sprint 23 SDK

      Description

      On Windows Phone 8.1, label's getRect method, which is supposed to return an object throws error: mainText. getRect() is not a function. (In 'mainText.getRect()', 'mainText.getRect' is undefined.
      I use this method on Android successfully and I need it to calculate weight of a label.
      Another method which is working on iOS is toImage method, but it's iOS only.
      Please look at it.
      Thank you

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                max87 Marian Kucharcik
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration