Skip to content

[CI proof — do not merge] option-row height fix (upstream #11264)#597

Open
BenJule wants to merge 1 commit into
developfrom
ci-proof/option-row-height-11264
Open

[CI proof — do not merge] option-row height fix (upstream #11264)#597
BenJule wants to merge 1 commit into
developfrom
ci-proof/option-row-height-11264

Conversation

@BenJule

@BenJule BenJule commented Jun 23, 2026

Copy link
Copy Markdown
Owner

CI evidence only — do not merge. This re-runs the exact change from upstream PR bambulab#11264 (the option-row height fix for wrapped multi-line labels) through this fork's working CI, since upstream CI is currently red for the known windows-latest/VS 2026 + macOS-SDK infra issues. The green run here demonstrates the change compiles on all platforms. (Visual verification of the label overlap is still separate.)

init_ctrl_lines() reserved the option-row height with a
'(label width > column ? 2 : 1)' heuristic that caps a wrapped label at
two lines. CtrlLine::render, however, wraps the label with
Label::split_lines (unlimited lines) and vertically centers it inside the
row height, so a label that wraps to three or more lines (common with
longer translations) overflowed and was drawn on top of the next option
row.

Reserve the actual wrapped height using the same helper and width that
the renderer uses, plus the existing vertical gap. Single- and two-line
rows are unaffected.
@github-actions github-actions Bot added area: ci GitHub Actions, CI/CD platform: macos macOS-specific issue platform: windows Windows-specific issue labels Jun 23, 2026
@github-actions github-actions Bot added area: ui User interface / wxWidgets area: slicing Slicing engine, toolpath generation labels Jun 23, 2026
@github-actions github-actions Bot added this to the v02.07.01-dev milestone Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci GitHub Actions, CI/CD area: slicing Slicing engine, toolpath generation area: ui User interface / wxWidgets platform: macos macOS-specific issue platform: windows Windows-specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant