Improving layout for wide screens. Issue #96. #107
Merged
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.
I made the task columns not go over a certain width (currently corresponds to modal max width). This helps prevent the add task/bug buttons from getting too wide too. We can tweak this further if we want that column to be bigger than the archived tasks one.
One thing I ran into when implementing this was that I was unable to use a the constraints to achieve the layout I wanted, so I resorted to measuring the width, which isn't ideal.
I had originally tried to do it with constraints by using FlexFit.loose and constraining the width of the content. This works in constraining and aligning the columns properly, but the first column doesn't expand to the full remaining width.
Looks like this on an iPad Pro:
![image](https://user-images.githubusercontent.com/454182/57004892-c6b4b780-6b87-11e9-9b37-35142ee91a1f.png)