From 1f8f35d8b52269385e23dce983b9e32e399f6c4f Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Tue, 3 Sep 2024 08:27:56 +0200 Subject: [PATCH] FlowDirection must be LeftToRight --- MapControl/Avalonia/Themes/Generic.axaml | 1 + MapControl/WPF/Themes/Generic.xaml | 1 + MapControl/WinUI/MapBase.WinUI.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/MapControl/Avalonia/Themes/Generic.axaml b/MapControl/Avalonia/Themes/Generic.axaml index 9c1e4179..7001d103 100644 --- a/MapControl/Avalonia/Themes/Generic.axaml +++ b/MapControl/Avalonia/Themes/Generic.axaml @@ -4,6 +4,7 @@ xmlns:map="clr-namespace:MapControl"> + diff --git a/MapControl/WPF/Themes/Generic.xaml b/MapControl/WPF/Themes/Generic.xaml index 6bd22cc9..bd8eca18 100644 --- a/MapControl/WPF/Themes/Generic.xaml +++ b/MapControl/WPF/Themes/Generic.xaml @@ -4,6 +4,7 @@ xmlns:map="clr-namespace:MapControl"> diff --git a/MapControl/WinUI/MapBase.WinUI.cs b/MapControl/WinUI/MapBase.WinUI.cs index 58275873..9caaa4ec 100644 --- a/MapControl/WinUI/MapBase.WinUI.cs +++ b/MapControl/WinUI/MapBase.WinUI.cs @@ -79,6 +79,7 @@ namespace MapControl // var style = new Style(typeof(MapBase)); style.Setters.Add(new Setter(BackgroundProperty, new SolidColorBrush(Colors.White))); + style.Setters.Add(new Setter(FlowDirectionProperty, FlowDirection.LeftToRight)); Style = style; SizeChanged += OnSizeChanged;