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

Android: Add TextArea lines and maxLines support

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.2
    • Fix Version/s: Release 7.5.0
    • Component/s: Android
    • Labels:
    • Story Points:
      3
    • Sprint:
      2018 Sprint 13 SDK

      Description

      Add the possibility to set the properties lines and maxLines at a TextField.

      The TextField will start with the lines amount of lines and will be extended to maxLines when pressing the Return key.

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff'
      });
       
      var tf = Ti.UI.createTextArea({
      	lines: 1,
      	maxLines: 5,
      	borderColor: "#000",
      	borderWidth: 1,
      	color: "#000",
      	width: 200,
      	top: 10,
      })
       
      win.add(tf);
       
      var tf2 = Ti.UI.createTextArea({
      	lines: 2,
      	maxLines: 2,
      	borderColor: "#000",
      	borderWidth: 1,
      	color: "#000",
      	width: 200,
      	bottom: 10
      })
       
      win.add(tf);
      win.add(tf2);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              michael Michael Gangolf
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code