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? 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
I want to put two items in with the same with in constraint builder but currently it seems not working.
Sample Code:
override fun createContentWidget() = with(theme) { constraint(size = WidgetSize.AsParent) { val loginButton = +button( size = Const(MatchConstraint, WrapContent), content = Text(Value.data("Login".desc() as StringDesc)) ) { } val registerButton = +button( size = Const(MatchConstraint, WrapContent), content = Text(Value.data("Register".desc() as StringDesc)) ) { } constraints { loginButton topToTop root loginButton leftToLeft root loginButton rightToLeft registerButton offset 8 registerButton centerYToCenterY loginButton registerButton rightToRight root registerButton leftToRight loginButton offset 8 } } }
Previews:
The text was updated successfully, but these errors were encountered:
on both platforms we can create vertical/horizontal guidelines: https://developer.android.com/reference/android/support/constraint/Guideline https://developer.apple.com/documentation/uikit/uilayoutguide
if we add to common api guidelines support we support case from issue description
Sorry, something went wrong.
No branches or pull requests
I want to put two items in with the same with in constraint builder but currently it seems not working.
Sample Code:
Previews:
The text was updated successfully, but these errors were encountered: