Change of property BorderSpacing.Left for an inherited control is not save in the .lfm file
- Lazarus/FPC Version: Lazarus 2.2.0 (rev lazarus_2_2_0) FPC 3.2.2 x86_64-linux-gtk2
- Operating System: Linux Ubuntu 18.04
- CPU / Bitness: 64bit
What happens
The change of property BorderSpacing.Left of inherited controls is not save in the .lfm file
What did you expect
The change should be saved.
Steps to reproduce
-
Create Form1 with 2 Edit controls (Edit1 and Edit2)
-
Set AnchorSideLeft.Control of Edit2 to Edit1
-
Set BorderSpacing.Left of Edit2 to 50
-
Save unit1
-
Create Form2 inherited from Form1 (File -> New ->inherited item -> inherited project component). First problem, the inherited controls (Edit1 and Edit2) are not shown in the newly created form.
-
Save and close unit2
-
Reopen unit2 and show the form (F12) now the inherited controls are correctly shown
-
Change BorderSpacing.Left of Edit2 to 0
-
Save and close unit2
-
Reopen unit2
-
The change we made in step 8 is not saved in the unit2.lfm, the BorderSpacing.Left value returns back to 50inherited_borderspacing_left_is_not_saved.zip