Skip to content

Commit c08b896

Browse files
committed
fix WinUI slider
1 parent c78085e commit c08b896

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/WinUI/ArcGIS.WinUI.Viewer/Samples/Analysis/ShowInteractiveViewshedInAnalysisOverlay/ShowInteractiveViewshedInAnalysisOverlay.xaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@
1313
<Setter Property="HorizontalAlignment" Value="Right" />
1414
<Setter Property="VerticalAlignment" Value="Center" />
1515
<Setter Property="Margin" Value="10,0,0,0" />
16-
<Setter Property="MinWidth" Value="55" />
16+
<Setter Property="MinWidth" Value="90" />
1717
</Style>
1818
<Style TargetType="Slider" BasedOn="{StaticResource DefaultSliderStyle}">
1919
<Setter Property="HorizontalAlignment" Value="Stretch" />
2020
<Setter Property="VerticalAlignment" Value="Center" />
21-
<Setter Property="MinWidth" Value="180" />
2221
<Setter Property="Margin" Value="0,2" />
2322
<Setter Property="SnapsTo" Value="StepValues" />
2423
<Setter Property="StepFrequency" Value="1" />
@@ -43,7 +42,7 @@
4342
</Grid.RowDefinitions>
4443
<Grid.ColumnDefinitions>
4544
<ColumnDefinition Width="Auto" />
46-
<ColumnDefinition Width="*" />
45+
<ColumnDefinition Width="100" />
4746
<ColumnDefinition Width="Auto" />
4847
</Grid.ColumnDefinitions>
4948

@@ -180,4 +179,4 @@
180179
Text="Raster data Copyright Scottish Government and SEPA (2014)"
181180
TextWrapping="Wrap" />
182181
</Grid>
183-
</UserControl>
182+
</UserControl>

0 commit comments

Comments
 (0)