Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3050] Assigning the property paddingLeft to a textField causes the left edge of the textField to be unclickable

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2011-08-03T13:55:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMatthew Lanham
AssigneeTony Guntharp
Created2011-08-03T00:18:07.000+0000
Updated2016-03-08T07:48:05.000+0000

Description

If you assign the property paddingLeft or leftButtonPadding to a TextField it causes the left edge of the TextField to be unresponsive to touch, we have been using this to pad out entry text / hintText but it means people have to click around 30px from the left even though the padding is only 5px

Attachments

FileDateSize
TextFieldTest.zip2011-08-03T00:35:17.000+00001815888

Comments

  1. Matthew Lanham 2011-08-03

    I've attached a sample project that shows the issue
  2. Paul Dowsett 2011-08-03

    Thank you for raising this ticket. In order to progress it, please add the missing information in the format and places requested in the guidelines at [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist). There is no need to add a whole project. Is your code as simple as it can possibly be? Once it is, include your app.js in the body of the ticket wrapped in a wiki markup code block. Many thanks in advance
  3. Matthew Lanham 2011-08-03

    Well as mentioned it literally is just a text box and i did include that in the app.js in the attached zip file, so here's the one line of code: Ti.UI.createTextField({paddingLeft: 10, top: 30, height: 30, width: 200, borderRadius: 10, hintText: 'Hello World', borderColor: '#ccc'});
  4. Alan Leard 2011-08-03

    Moved into a Mobile bug: http://appc.me/TIMOB-4882
  5. Paul Dowsett 2011-10-07

    Closing due to inactivity.

JSON Source