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
How to use CKStackLayoutComponent to align two labels horizontally? #62
Comments
Great find—this is a shortcoming in our flexbox implementation ( If you'd like to submit a patch to the stack layout implementation to support this, it'd be much appreciated. Otherwise, I'll try to find someone to add support. For now, you can fake it by putting in a spacer with
|
By the way, I created the |
⭐ |
Hi, seems that CK is still not support justify-content: space-between now? |
Hi there
This is a StackOverflow kind of question and not really an issue, but I couldn't ask it there (apparently I can't create the tag
componentkit
with my reputation, can someone else do it?).I've just started playing with ComponentKit and I'm having some difficulties aligning 2 labels horizontally.
I want the first one close to the left margin and the second close to the right.
With auto layout, I can do it with this set of constraints:
Everything I tried doesn't seem to be working, I always get the same result:
This is the super-simple component:
If anyone has any advice that would be greatly appreciated. I also have an example project
The text was updated successfully, but these errors were encountered: