Skip to content

Conversation

ImCoolNowRight
Copy link
Contributor

Description

This PR updates how the patch object for the Text tag is created to ensure the tag can get the proper parent dimensions it needs in order to center text.

References

LUI-1324

Testing

In the TextBox story, add textAlign: 'center' to the textStyle. You should see that the text properly centers when you toggle the control for fixed.

Automation

Checklist

  • all commented code has been removed
  • any new console issues have been resolved
  • code linter and formatter has been run
  • test coverage meets repo requirements
  • PR name matches the expected semantic-commit syntax

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@joshhowenstine joshhowenstine added the WIP In progress but could use an initial review label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP In progress but could use an initial review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants