Skip to content

Support combining multiple abs modifiers #1509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

ethanshar
Copy link
Collaborator

@ethanshar ethanshar commented Aug 29, 2021

Description

Support combining multiple abs modifiers

So far we have abs modifiers to quickly position views in an absolute position. We have: absT, absR, absB, absL, etc...
This PR add support for combining multiple abs modifiers, so basically we can do this

<View absB absR>
  <Text>xxxx </Text>
</View>

to position a view at the right bottom of the screen

Changelog

Support passing multiple abs modifiers (e.g absR and absB together)

Copy link
Contributor

@lidord-wix lidord-wix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool!

@lidord-wix lidord-wix merged commit 719d61e into master Aug 31, 2021
@ethanshar ethanshar deleted the feat/supportMultipleAbsModifiers branch November 30, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants