Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3647] Not able to build custom button using TSS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2016-05-29T09:43:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterVenkata
AssigneeShak Hossain
Created2016-05-23T10:32:35.000+0000
Updated2016-05-29T09:43:33.000+0000

Description

Not able to achieve the buttons styles in Titanium API as per the attachments. Issues facing: -not able to make the button text as capital without using java script. want to do it using tss. -not able to build the custom images using tss. examples want to achieve: !Screenshot 2016-05-13 11.54.53.png|thumbnail! !Screenshot 2016-05-13 11.31.37.png|thumbnail!

Attachments

FileDateSize
Screenshot 2016-05-13 11.31.37.png2016-05-23T10:32:01.000+000034836
Screenshot 2016-05-13 11.54.53.png2016-05-23T10:32:15.000+00005456

Comments

  1. Nazmus Salahin 2016-05-24

    Hello [~vvalluru], Thanks for reaching out. Please share the test code and explain a bit more what you are trying to achieve and where you find inconvenience then we will be able to give you solution. Thanks in advance
  2. Venkata 2016-05-24

    As per the attachment if you see the button pattern i am able to achieve the button color with background image but i can't place a arrow icon on top of it with something like position absolute it. Also without using javascript i can't see any option to make the button text to uppercase.
  3. Sharif AbuDarda 2016-05-24

    Hello, 1. Why don't you use an image as button background image, that has already an arrow icon at the corner. 2. For Android 5 and up, By default button title is uppercase. Currently, Appcelerator has no property for making button title uppercase in iOS. You can use uppercase letters in button title for that. Now, If you want the feature for iOS, Please provide reference on how this is done in native platform. Regards, Sharif.

JSON Source