View Issue Details

IDProjectCategoryView StatusLast Update
0000237QElectroTechElement Editorpublic2026-09-25 11:47
Reportermarkus71at Assigned To 
PriorityhighSeveritytextReproducibilityalways
Status newResolutionopen 
Summary0000237: A "-" in label of user elements causes line feed
DescriptionIf you create a user element (or copy a default element and save as user element) "-" in label will cause a line feed.
"-" in a label is essential as it is the default prefix. This must not cause a line feed.
It should be like "=P+L-A" but it results in
"=P+L-
A"
with line feed!
TagsNo tags attached.

Activities

ispyisail

2026-09-25 11:47

developer   ~0000908

A label only wraps when its text field has a fixed width. The width is set per text field in the element editor, and new text fields take their default from Settings ("dynamic text width"). With no width set (-1, the default), "=P+L-A" stays on one line.

With a width set, QElectroTech follows Qt's normal word wrap, which allows a line break after a hyphen, so a label wider than the field breaks after the "-".

Could you check whether the label field in your element has a width set, and whether clearing it fixes it for you? Whether labels should ever wrap inside a fixed width is a question for the developers.

Issue History

Date Modified Username Field Change
2021-06-18 21:21 markus71at New Issue
2026-09-25 11:47 ispyisail Note Added: 0000908