Align views next to each other to the write while wrapping#33
Open
tim12s wants to merge 1 commit intomamaral:masterfrom
Open
Align views next to each other to the write while wrapping#33tim12s wants to merge 1 commit intomamaral:masterfrom
tim12s wants to merge 1 commit intomamaral:masterfrom
Conversation
…ing to indicate that a component aligned to another component on the right can wrap below and align itself to the left inside of the superview (+padding). 2. Add a newline capability to ensure that the newline anchor is relative to the end of the previous line which may be wrapped. This uses .UnderMatchingLeftFollowing indicate that it must be under the tailing component to the left. This is applicable to both align and alignAndFillWidth. 3. Updated the ViewController example with the necessary line wrapping examples showing both examples, with a subsequent alignAndFill.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
For certain scenarios I want to align components next to each other "to the right" while automatically wrapping to the next line if required. Different screen widths will allow a differing number of components to align next to each other. The current pull request addresses this. This does not logically apply in all scenarios. Reactive web pages commonly address this and elastic changes can happen vertically but this change will keep this simple for now.