Commits

Christian Specht committed 675eb05 Draft

style buttons

  • Participants
  • Parent commits be5e075

Comments (0)

Files changed (1)

File src/MissileSharp.Launcher/Views/MainWindow.xaml

         Title="MissileSharp Launcher" Height="350" Width="525">
     <Grid>
         <ListBox ItemsSource="{Binding CommandSets}">
+            <ListBox.ItemContainerStyle>
+                <Style TargetType="ListBoxItem">
+                    <Setter Property="HorizontalContentAlignment" Value="Stretch"></Setter>
+                </Style>
+            </ListBox.ItemContainerStyle>
             <ListBox.ItemTemplate>
                 <DataTemplate>
-                    <Button Content="{Binding}" Command="{Binding DataContext.FireCommand, RelativeSource={RelativeSource AncestorType=ListBox}}" CommandParameter="{Binding}" />
+                    <Button
+                        Content="{Binding}"
+                        Command="{Binding DataContext.FireCommand, RelativeSource={RelativeSource AncestorType=ListBox}}"
+                        CommandParameter="{Binding}"
+                        Height="50"
+                        FontSize="20"
+                        />
                 </DataTemplate>
             </ListBox.ItemTemplate>
         </ListBox>