Skip to content
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
This repository was archived by the owner on Dec 31, 2020. It is now read-only.

Resizing the container layout does not re-layout the blocks #9

Description

@inahas

I have a responsive UI that resizes the container layout in increments of n*blockwidth.

When I resize the layout smaller, the items are re-laid out properly. However, when I make the layout wider, this does not always have any effect on the contents and they appear as one long column with plenty of space to the right.

Calling requestLayout does not fix the problem. Even removing and readding all the components does not fix it. It seems the layout still 'thinks' it is too narrow to fit more than one block horizontally.

The only workaround I found and using is to create a new MasonryLayout object and refill every time the size changes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions