mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
FlowDirection must be LeftToRight
This commit is contained in:
parent
2a0f363377
commit
1f8f35d8b5
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:map="clr-namespace:MapControl">
|
||||
|
||||
<ControlTheme TargetType="map:MapBase" x:Key="{x:Type map:MapBase}">
|
||||
<Setter Property="FlowDirection" Value="LeftToRight"/>
|
||||
<Setter Property="Foreground" Value="Black"/>
|
||||
</ControlTheme>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
xmlns:map="clr-namespace:MapControl">
|
||||
|
||||
<Style TargetType="map:MapBase">
|
||||
<Setter Property="FlowDirection" Value="LeftToRight"/>
|
||||
<Setter Property="Foreground" Value="Black"/>
|
||||
</Style>
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue