Skip to content

Commit

Permalink
Some minor style optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen-wilke committed Aug 26, 2019
1 parent a7c3a05 commit 02c4c79
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<gui:CustomTitleBar CustomButtonVisible="False"
DockPanel.Dock="Top"
ShowMinimizeButton="False"
Window="{Binding RelativeSource={RelativeSource AncestorType={x:Type view:ConfigWindow}}}" />
Window="{Binding RelativeSource={RelativeSource AncestorType={x:Type view:ConfigWindow}}}"
Height="32"/>
<DockPanel Margin="5" LastChildFill="True">
<materialDesign:Snackbar x:Name="ConfigSnackBack"
Padding="8,8,30,8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<ResourceDictionary>
<HierarchicalDataTemplate DataType="{x:Type local:ProjectViewModel}" ItemsSource="{Binding Path=Projects}">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding IsChecked}" Visibility="{Binding Path=IsCheckable, Converter={StaticResource BoolToVis}}" Focusable="False" />
<TextBlock Text="{Binding Name}" Focusable="False" />
<CheckBox IsChecked="{Binding IsChecked}" Visibility="{Binding Path=IsCheckable, Converter={StaticResource BoolToVis}}" Style="{StaticResource MaterialDesignCheckBox}" Focusable="False" />
<TextBlock Text="{Binding Name}" Focusable="False" Margin="10,0,0,0" />
</StackPanel>
</HierarchicalDataTemplate>
</ResourceDictionary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<gui:CustomTitleBar CustomButtonVisible="False"
DockPanel.Dock="Top"
ShowMinimizeButton="False"
Window="{Binding RelativeSource={RelativeSource AncestorType={x:Type wizard:WizardWindow}}}" />
Window="{Binding RelativeSource={RelativeSource AncestorType={x:Type wizard:WizardWindow}}}"
Height="32"/>

<materialDesign:DialogHost Name="WizardWaitDialogHost" Identifier="WizardWaitDialogHostId">
<materialDesign:DialogHost.DialogContent>
Expand Down
2 changes: 1 addition & 1 deletion src/Soloplan.WhatsON.GUI/CustomTitleBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:gui="clr-namespace:Soloplan.WhatsON.GUI"
d:DesignHeight="60"
d:DesignHeight="32"
d:DesignWidth="300"
mc:Ignorable="d">
<UserControl.Resources>
Expand Down

0 comments on commit 02c4c79

Please sign in to comment.