Skip to content

Remove height override causing layout break - #4654

Merged
Withalion merged 1 commit into
masterfrom
bugfix/fix-active-layer-layout-breaking
Aug 19, 2026
Merged

Remove height override causing layout break#4654
Withalion merged 1 commit into
masterfrom
bugfix/fix-active-layer-layout-breaking

Conversation

@xkello

@xkello xkello commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

The "Choose Active Layer" drawer broke visually for layers with long, multi-line names - rows overlapped instead of expanding.

Fixes: #4653

What changed

Removed a hardcoded height: __style.menuDrawerHeight on the drawer's list delegate in MMMapController.qml, letting MMListDelegate's own content-based height (which already supports wrapped multi-line text) take over.

Behaviour

Rows in the active-layer dropdown now grow to fit multi-line layer names instead of overlapping.

image

@xkello
xkello requested a review from Withalion August 19, 2026 09:43
@IvaKuklica

Copy link
Copy Markdown

Testing note:

Retested after fix: All layer names in the dropdown display correctly with consistent row spacing throughout the list — no squeezed or inconsistent spacing on rows following a long-named layer

@Withalion
Withalion merged commit e86f741 into master Aug 19, 2026
11 of 13 checks passed
@Withalion
Withalion deleted the bugfix/fix-active-layer-layout-breaking branch August 19, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants