Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25594] Add inner padding to Button element

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJorge Macias Garcia
AssigneeUnknown
Created2017-09-27T13:35:45.000+0000
Updated2018-12-17T22:03:38.000+0000

Description

Add the posibility to add inner padding between the title and the button border.

Comments

  1. Sharif AbuDarda 2017-10-31

    Hello, Can you share more details of your request, perhaps with native docs on the feature? We will consider it. Thanks.
  2. Sharif AbuDarda 2017-11-30

    Hello [~jormagar], Please share some native docs on how this is handled natively. Thanks.
  3. Jorge Macias Garcia 2017-11-30

    IOS https://developer.apple.com/documentation/uikit/uibutton/1624010-titleedgeinsetst Android: Every view can set own padding. It's a view property. android:paddingRight="25dp" android:paddingLeft="25dp"
  4. Shawn Lipscomb 2018-12-17

    I would like to see control of the button's padding also. Starting around Ti SDK 5.x (I think), buttons started getting more implicit padding than before. This may have something to do with the border radius of the button, but I'm not sure. I want to reduce the amount of implicit padding (left and right).

JSON Source