symbol editor: alignment of text-item different to schematic-editor
Description
The text-item in the v6.99-symbol-editor was enhanced with multi-line capabilities. This is a harmonization between symbol- and schematic-editor (which has multi-line text already in v6).
However the left/right-alignment-setting produces different results for text written in the symbol and for text written in eeschema.
Steps to reproduce
- open attached project, open schematic
- open symbol in library (doubleclick symbol --> symbol properties dialog --> click button "Edit library symbol" --> library opens)
- doubleclick textitem, look at setting for alignment --> it's set to "align left"
- go back to schematic-editor and look at the schematic-editor-text-item (on the right side, written in blue)
- compare both displayed strings - the symbol-string is center-aligned despite set to "left-aligned"
symbol_editor_text_only_symbol.zip
KiCad Version
Application: KiCad Schematic Editor (64-bit)
Version: (6.99.0-1187-gc837209f45), release build
Libraries:
wxWidgets 3.1.5
FreeType 2.11.1
Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.78.0-DEV
ngspice: 36
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON