I would like to reduce the leading (space between lines) of the Labels in this window:
Image may be NSFW.
Clik here to view.
I know you can increase the spacing using Margin. Can I 'tighten up' the spacing instead? Below is the XAML:
<Window x:Class="DinosaurIsland.ActiveDinosaurList" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:DinosaurIsland" Title="ActiveDinosaurList" Height="845" Width="213" WindowStyle="SingleBorderWindow" ResizeMode="NoResize" ><Window.Resources><local:DinoStatusConverter x:Key="DinoStatusConverter"/><DataTemplate x:Key="DinosaurInfo"><StackPanel Orientation="Vertical" Margin="4"><Label Name="DinosaurName" Content="{Binding Path=PersonalName}"/><Label Name="DinosaurSpecies" Content="{Binding Path=Specie}"/><Label Name="DinosaurStatus" Content="{Binding Path=State, Converter={StaticResource DinoStatusConverter}}"/><Label HorizontalAlignment="Center" Content="Energy" /><ProgressBar Name="Health" Margin="10" HorizontalAlignment="Left" VerticalAlignment="Top" Width="130" Height="15" Value="100" /></StackPanel></DataTemplate></Window.Resources><Grid><ListView x:Name="DinoListView" ItemsSource="{Binding Dinosaurs}" Height="812" HorizontalAlignment="Left" Margin="0,3,0,0" VerticalAlignment="Top" Width="201" ><ListView.View><GridView><GridViewColumn Width="170" Header="Select Dinosaur" CellTemplate="{StaticResource DinosaurInfo}" /></GridView></ListView.View></ListView></Grid></Window>Thanks! You guys are the greatest!