We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
A FlexboxLayout with justifyContent flex_end with a larger paddingEnd than paddingStart clips its children at the right side.
the children are aligned at the right side without clipping
implementation 'com.google.android.flexbox:flexbox:3.0.0'
To reproduce, paste this layout xml and open the design preview
<?xml version="1.0" encoding="utf-8"?> <com.google.android.flexbox.FlexboxLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" android:paddingStart="50dp" android:paddingEnd="100dp" app:justifyContent="flex_end"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello world"/> </com.google.android.flexbox.FlexboxLayout>
This is what the result looks like:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issues and steps to reproduce
A FlexboxLayout with justifyContent flex_end with a larger paddingEnd than paddingStart clips its children at the right side.
Expected behavior
the children are aligned at the right side without clipping
Version of the flexbox library
implementation 'com.google.android.flexbox:flexbox:3.0.0'
Link to code
To reproduce, paste this layout xml and open the design preview
This is what the result looks like:
The text was updated successfully, but these errors were encountered: