Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17258] Android: Please add paddingRight and paddingLeft attributes to Button element

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterFix Please
AssigneeUnknown
Created2014-05-28T11:31:08.000+0000
Updated2018-02-28T20:04:05.000+0000

Description

Problem Description

Right now, if you use a button, looks like there is no way to modify the text padding in the button. Android provides some control over this, by paddingRight and paddingLeft.

Extra information

You can find some native code showing this in this page: http://stackoverflow.com/questions/8517527/margin-inside-buttons

Comments

  1. Fix Please 2014-07-01

    Any comment, please? Month has passed. Btw, who is Steven Scott? Seems he has never been here: "No activity was found"
  2. Mauro Parra-Miranda 2014-07-01

    Thanks for reporting this. The priority will be set by the Platform team.
  3. Rene Pot 2016-09-15

    iOS native code can be found here : http://stackoverflow.com/questions/3052731/how-to-achieve-uibutton-uilabel-padding-in-iphone-app

JSON Source