FlowDirection must be LeftToRight

This commit is contained in:
ClemensFischer 2024-09-03 12:11:04 +02:00
parent bfb5a978ee
commit d1efb9f343
5 changed files with 11 additions and 15 deletions

View file

@ -79,9 +79,11 @@ 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.Seal();
Style = style;
FlowDirection = FlowDirection.LeftToRight;
SizeChanged += OnSizeChanged;
}