Skip to content

Long layer name in "Choose Active Layer" list causes incorrect layout of the row below it #4653

Description

@IvaKuklica

Description:

In the "Choose Active Layer" bottom sheet (shown when starting to record a feature), if a layer's name is long enough to wrap onto two lines, the row for that layer does not get properly sized/padded to fit both lines, and this pushes the layout of the following row out of alignment.
Project: tester-ws-1 / test_sort_layers_B

Environment:
[ x } Staging [ x ] PROD

Application:
Dev/OS/App: Samsung galaxy A53 / Android 15 / MM 2026.3.3 - 847551
Dev/OS/App: IPhone 15, iOS 26 / MM 2026.3.3 - 26.08.941611

Steps to reproduce:

  1. Add a layer with a very long name to the project (long enough to wrap to two lines in the layer list), e.g. PolygonLayer_with_loooooooooooooooooooooooooong_name_again.
  2. Start recording a new feature.
  3. Open the "Choose Active Layer" selector.
  4. Observe the row for the long-named layer and the row immediately below it.

Expected behavior:

The row height should expand to accommodate both lines of the wrapped layer name, with the icon vertically centered against the full two-line label, and the divider line placed cleanly below the complete row — consistent with how single-line rows are spaced.

Actual behavior:

The divider line sits right under the first line of the wrapped name instead of below the full two-line label, making it look like it's separating the two lines of the same name rather than separating this row from the next one. The layer icon is top-aligned to the first line only, instead of being vertically centered against the two-line label. This makes the row below the long-named layer appear squeezed / inconsistently spaced compared to the rest of the list

Screenshots:

Image

Metadata

Metadata

Assignees

Labels

bugPRIMARY CATEGORYui/uxRelated to user interface

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions