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

TextField's padding property top and bottom not working on iOS

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Release 7.5.0, Release 8.0.1
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Titanium SDK version: 7.5.0.GA
      Platform & version: iOS 12.1

      Description

      Problem
      Top and bottom of the padding property isn't working on iOS and nothing is written in the docs about this.

      Test case

      1. Execute below code
      2. Padding top and padding bottom aren't present

      index.js

      $.win.open();
      

      index.xml

      <Alloy>
      	<Window id="win">
      			<TextField id="field"/>
      	</Window>
      </Alloy>
      

      TSS:

      index.tss

      "#win": {
      	backgroundColor: 'black'
      }
       
      "#field": {
      	height: Ti.UI.SIZE,
      	width: Ti.UI.SIZE,
      	top: 32,
      	backgroundColor: 'red',
      	padding: {
      		top: 32,
      		bottom: 32,
      		right: 32,
      		left: 32,
      	},
      	value: 'Test Test Test Test'
      }
      

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              mobile@informatica.aci.it ACI Informatica
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration