|
24 | 24 | <system:String x:Key="DonateLink">https://paypal.me/HeikoH89</system:String> |
25 | 25 | <system:String x:Key="GitHubRepoLink">https://github.com/Codectory/AutoHDR</system:String> |
26 | 26 |
|
27 | | - |
28 | 27 | <Style x:Key="ListBoxItemStyle" TargetType="ListBoxItem"> |
29 | 28 | <Setter Property="Template"> |
30 | 29 | <Setter.Value> |
|
50 | 49 |
|
51 | 50 |
|
52 | 51 |
|
53 | | - <Style x:Key="DefaultLabel" TargetType="Label"> |
54 | | - <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}"/> |
55 | | - </Style> |
56 | | - <Style TargetType="Label" BasedOn="{StaticResource DefaultLabel}"/> |
| 52 | + <Style x:Key="DefaultTextBlock" TargetType="TextBlock"> |
| 53 | + <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}" /> |
| 54 | + <Setter Property="Foreground" Value="Black"/> |
| 55 | + <Setter Property="Margin" Value="5"/> |
57 | 56 |
|
| 57 | + </Style> |
58 | 58 |
|
59 | 59 |
|
60 | | - <Style x:Key="DefaultTextBlock" TargetType="TextBlock"> |
61 | | - <Setter Property="FontSize" Value="15"/> |
62 | | - <Setter Property="Foreground" Value="Black"/> |
63 | 60 |
|
64 | | - </Style> |
65 | | - |
66 | | - <Style TargetType="TextBlock" BasedOn="{StaticResource DefaultTextBlock}"/> |
| 61 | + <Style x:Key="TitleTextBlock" TargetType="TextBlock" BasedOn="{StaticResource DefaultTextBlock}"> |
| 62 | + <Setter Property="FontSize" Value="25"/> |
| 63 | + <Setter Property="Foreground" Value="Black"/> |
| 64 | + <Setter Property="FontWeight" Value="Bold"/> |
| 65 | + </Style> |
| 66 | + |
| 67 | + <Style x:Key="SubTitleTextBlock" TargetType="TextBlock" BasedOn="{StaticResource DefaultTextBlock}"> |
| 68 | + <Setter Property="FontSize" Value="20"/> |
| 69 | + <Setter Property="Foreground" Value="Black"/> |
| 70 | + <Setter Property="FontWeight" Value="DemiBold"/> |
| 71 | + </Style> |
67 | 72 |
|
68 | 73 |
|
69 | | - <Style x:Key="DefaultUserControl" TargetType="UserControl"> |
| 74 | + <Style x:Key="ToggleStatus" TargetType="{x:Type CheckBox}"> |
| 75 | + |
| 76 | + <Setter Property="SnapsToDevicePixels" |
| 77 | + Value="true" /> |
| 78 | + <Setter Property="IsEnabled" |
| 79 | + Value="false" /> |
| 80 | + |
| 81 | + <Setter Property="Height" |
| 82 | + Value="20" /> |
| 83 | + <Setter Property="Width" |
| 84 | + Value="20" /> |
| 85 | + <Setter Property="OverridesDefaultStyle" |
| 86 | + Value="true" /> |
| 87 | + <Setter Property="FocusVisualStyle" |
| 88 | + Value="{DynamicResource CheckBoxFocusVisual}" /> |
| 89 | + <Setter Property="Template"> |
| 90 | + <Setter.Value> |
| 91 | + <ControlTemplate TargetType="{x:Type CheckBox}"> |
| 92 | + <Ellipse Fill="{TemplateBinding Background}" HorizontalAlignment="Stretch" Stroke="Black" VerticalAlignment="Stretch" /> |
| 93 | + </ControlTemplate> |
| 94 | + </Setter.Value> |
| 95 | + </Setter> |
| 96 | + <Style.Triggers> |
| 97 | + <Trigger Property="IsChecked" Value="true"> |
| 98 | + <Setter Property="Background" Value="{StaticResource ActiveBrush}"></Setter> |
| 99 | + </Trigger> |
| 100 | + <Trigger Property="IsChecked" Value="false"> |
| 101 | + <Setter Property="Background" Value="Transparent"></Setter> |
| 102 | + </Trigger> |
| 103 | + </Style.Triggers> |
| 104 | + |
| 105 | + </Style> |
| 106 | + <Style x:Key="DefaultUserControl" TargetType="UserControl"> |
70 | 107 | <Setter Property="Background" Value="{StaticResource WindowBackgroundBrush}"/> |
71 | 108 | <Setter Property="Foreground" Value="Black"/> |
72 | 109 |
|
|
75 | 112 |
|
76 | 113 |
|
77 | 114 |
|
78 | | - <Style x:Key="HDRCircle" TargetType="Ellipse"> |
| 115 | + <!--<Style x:Key="HDRCircle" TargetType="Ellipse"> |
79 | 116 | <Setter Property="HorizontalAlignment" Value="Center" /> |
80 | 117 | <Setter Property="VerticalAlignment" Value="Center" /> |
81 | 118 | <Style.Triggers> |
|
86 | 123 | <Setter Property="Fill" Value="Transparent"/> |
87 | 124 | </Trigger> |
88 | 125 | </Style.Triggers> |
89 | | - </Style> |
| 126 | + </Style>--> |
90 | 127 |
|
91 | 128 | <Style x:Key="DefaultTextBox" TargetType="TextBox" > |
92 | 129 | <Setter Property="BorderThickness" Value="0"/> |
|
149 | 186 | <Setter.Value> |
150 | 187 | <ControlTemplate TargetType="Button"> |
151 | 188 | <Border Height="Auto" Width="Auto" BorderBrush="{TemplateBinding Background}" Background="{TemplateBinding Background}" BorderThickness="0" CornerRadius="{StaticResource CornerRadius}"> |
152 | | - <TextBlock FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Background="Transparent" Margin="5,2" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> |
| 189 | + <TextBlock Style="{StaticResource DefaultTextBlock}" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Background="Transparent" Margin="8,5" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/> |
153 | 190 | </Border> |
154 | 191 | </ControlTemplate> |
155 | 192 | </Setter.Value> |
|
312 | 349 | <Grid> |
313 | 350 | <Border x:Name="HeaderBorder" Background="Transparent" Height="Auto" Width="Auto" BorderBrush="{TemplateBinding Background}" CornerRadius="3 3 0 0"> |
314 | 351 | </Border> |
315 | | - <TextBlock x:Name="HeaderContent" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Background="Transparent" Margin="5" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Header}" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
| 352 | + <TextBlock Style="{StaticResource DefaultTextBlock}" x:Name="HeaderContent" FontSize="{TemplateBinding FontSize}" FontWeight="{TemplateBinding FontWeight}" Background="Transparent" Margin="5" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Header}" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
316 | 353 |
|
317 | 354 | </Grid> |
318 | 355 | <ControlTemplate.Triggers> |
|
643 | 680 | <views:AutoHDRLogsView></views:AutoHDRLogsView> |
644 | 681 | </DataTemplate> |
645 | 682 | <DataTemplate x:Key="ProfileItemTemplate" DataType="Profile"> |
646 | | - <TextBlock Text="{Binding Name }"/> |
| 683 | + <TextBlock Style="{StaticResource DefaultTextBlock}" Text="{Binding Name }"/> |
647 | 684 | </DataTemplate> |
648 | 685 | </ResourceDictionary> |
649 | 686 |
|
|
0 commit comments