diff --git a/components/lazmapviewer/examples/plugin_demos/dragmarker_demo/unit1.lfm b/components/lazmapviewer/examples/plugin_demos/dragmarker_demo/unit1.lfm index 79250ef71..c00a17349 100644 --- a/components/lazmapviewer/examples/plugin_demos/dragmarker_demo/unit1.lfm +++ b/components/lazmapviewer/examples/plugin_demos/dragmarker_demo/unit1.lfm @@ -6,8 +6,8 @@ object Form1: TForm1 Caption = 'Form1' ClientHeight = 473 ClientWidth = 669 + LCLVersion = '4.99.0.0' OnCreate = FormCreate - LCLVersion = '3.4.0.0' object MapView1: TMapView Left = 0 Height = 473 @@ -28,7 +28,6 @@ object Form1: TForm1 object MvPluginManager1LegalNoticePlugin2: TLegalNoticePlugin LegalNotice = 'Copyright' LegalNoticeURL = 'https://www.openstreetmap.org' - Spacing = 0 end object MvPluginManager1DraggableMarkerPlugin2: TDraggableMarkerPlugin end diff --git a/components/lazmapviewer/source/addons/plugins/mvplugins.pas b/components/lazmapviewer/source/addons/plugins/mvplugins.pas index e27c11827..942dbdf36 100644 --- a/components/lazmapviewer/source/addons/plugins/mvplugins.pas +++ b/components/lazmapviewer/source/addons/plugins/mvplugins.pas @@ -267,6 +267,7 @@ begin FPosition := lnpBottomRight; FFont := TFont.Create; FFont.OnChange := @Changed; + FSpacing := DEFAULT_LEGALNOTICE_SPACING; end; destructor TLegalNoticePlugin.Destroy;