forked from 1b-agent/opencadstudio-upstream
Style selectors (Standard, layer, Color/Linetype/Lineweight) sat at different heights across ribbon panels because each combo panel vertically centered its content: panels with fewer icon rows (Multiline Text, Table) centered their dropdown differently than panels with two rows (Dimensions, Multileader). - Pin all combo panels (Layers, Properties, style combos) to the top of the fixed 3-row panel with a shared COMBO_PANEL_PAD, so every primary dropdown shares one baseline regardless of icon-row count - Extract the duplicated tool-row and panel-container code into tool_row() / combo_panel_col() helpers + named spacing constants - Bundle the per-view render state into RenderCtx, shrinking render_large/render_large_dropdown from 12-14 positional args to (item, &ctx) - print_to_printer: silence the Windows-only dead-code warning on PrintOptions::quality with the platform split documented (the field is read by the CUPS `lp -o print-quality` path)