Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34176

TextInput problem in a scaled group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Apache Flex 4.12.0
    • None
    • Spark: TextInput
    • None
    • Mobile

    Description

      While using version 4.12 mobile we encountered two issues related to TextInput component when it is included in a scaled Group -

      1. The text is not scaled and appears cut in side the TextInput.

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="160">

      <s:Group width="100%" height="50%" scaleX="0.5" scaleY="0.5">
      <s:TextInput layoutDirection="rtl" />

      <s:TextInput layoutDirection="ltr" top="100" />
      </s:Group>

      </s:Application>

      Here is a video that shows the issue:
      http://screencast.com/t/gyAnB6iDl0Gg

      it happens also when scaling the entire application without using applicationDPI.
      The use case is mainly for low-resolution Android devices where we need to scale only an area that includes a form (otherwise the keyboard covers it) and not the rest of the application.

      Attachments

        Activity

          People

            mamsellem Maurice Amsellem
            Ori007 Ori Segal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: