Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-4377

Windows Phone : Prevent font size changes on system font size change

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Not Our Bug
    • Affects Version/s: None
    • Component/s: Alloy
    • Labels:
      None
    • Environment:

      Titanium SDK 5.4.0
      Windows Phone 10

      Description

      Hi,

      I have created a sample windows app where font is defined in dp.

      When I change the system font size , my application font size too changes.
      This issue is not observed in android/iOS, but only in Windows Phone.

      How can i prevent the issue.

      index.xml
      <Alloy>
      <Window class="container">
      <Label id="label" onClick="doClick">Hello, World</Label>
      </Window>
      </Alloy>
      index.tss
      ".container":

      { backgroundColor:"white" }

      "Label":

      { width: Ti.UI.SIZE, height: Ti.UI.SIZE, color: "#000" }

      "#label": {
      font:

      { fontSize: 12 }


      }
      index.js
      function doClick(e)

      { alert($.label.text); }

      $.index.open();

      Can also refer to : https://jira.appcelerator.org/browse/AC-3746

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              neha Neha
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code