Gallery View: linked objects are awkwardly displayed


The Issue
When a gallery view (despite its size) has a file relation visible (*or a “linked objects” relation), having two or more attached objects results in the following:

  1. Two lines of objects are displayed, rather than just one (as was the case before 0.24.0).
  2. When more than two objects are linked, the “+” label is displayed in the centre, rather than the right.

As a result of #1, objects listed within the gallery view are no longer properly aligned.

Please consider the difference between the images below:

Anytype 0.23.5 vs Anytype 0.24.0

To Reproduce

  1. Create a set with various objects
  2. Add either a “file & media” or “linked objects” relation
  3. Enable (make visible) the relation
  4. Link objects/files via the relation (please ensure that some objects have 1, some 2, and some more than 2).

Expected behavior

  1. That linked objects would continue to be displayed as they were in 0.23.5 (one line)
  2. The “+” label would be right-aligned (still on the first line, not creating a second).

Additional Information
When the sidebar is disabled and an object has more than two linked objects (via a relation), some objects only list a few characters of the names of linked objects.

System Information:
OS: Microsoft Windows 10 Home (Version 10.0.19042)
Anytype Version 0.24.0

Thank you for reading, hope you have a great day!