mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-26 08:04:13 +01:00
Symbol texts: width and height, each fixed or not
In a symbol text's properties, "Width (fixed)" and the new "Height (fixed)" each carry a tick box. Not ticked, the field follows the text and shows the size it has now, ready to be fixed; ticked, it keeps the size beside the box. A fixed height is new: the field keeps it whatever is written, and the lines that do not fit are cut off, neither drawn nor picked, to shorten a text where room is short. It is saved as text_height on the text, only when set, and changed through an undoable property command like the width. Translations for all languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -53,6 +53,7 @@ class DynamicElementTextModel : public QStandardItemModel
|
||||
rotation,
|
||||
keepVisualRotation,
|
||||
textWidth,
|
||||
textHeight,
|
||||
grpAlignment,
|
||||
grpPos,
|
||||
grpRotation,
|
||||
|
||||
Reference in New Issue
Block a user