Skip to content

Text color of the Button not applied, when text-transform has been set. #2601

Closed

Description

@tsonevn

In case you want to change text color of a Button, while text-transform has been set to uppercase or lowercase, the color of the text would not be applied. This issue is reproducible only for iOS. I am attaching sample code:

main-page.xml

<Page xmlns="http://schemas.nativescript.org/tns.xsd">
  <StackLayout>
    <Label text="labelLabel" style="text-transform: uppercase; color:red;"/>
    <Button text="buttonButton" style=" color:red; text-transform: uppercase; " />
    <TextField text="textField" style="text-transform: uppercase; color:red;"/>
    <TextView text="textView" style="text-transform: uppercase;  color:red;" />
  </StackLayout>
</Page>

tns-core-modules:2.2.0
tns-ios:2.2.1
CLI: 2.2.1

Activity

  1. self-assigned this
    on Aug 22, 2016
  2. added a commit that references this issue on Aug 22, 2016
    9968588
  3. added this to the 2.3.0 milestone on Aug 23, 2016
  4. lock commented on Aug 29, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked and limited conversation to collaborators on Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions