|
40 | 40 | </Style.Triggers>
|
41 | 41 | </Style>
|
42 | 42 |
|
43 |
| - <Style x:Key="SuffixToolTip" TargetType="TextBlock"> |
| 43 | + <Style x:Key="SettingGroupBoxSuffixToolTip" TargetType="Border"> |
| 44 | + <Setter Property="Background" Value="{DynamicResource Color00B}" /> |
| 45 | + <Setter Property="BorderBrush" Value="{DynamicResource Color03B}" /> |
| 46 | + <Setter Property="BorderThickness" Value="1" /> |
| 47 | + <Setter Property="CornerRadius" Value="5" /> |
| 48 | + <Setter Property="Margin" Value="0,5,0,0" /> |
| 49 | + <Setter Property="Padding" Value="15,15,15,15" /> |
| 50 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
44 | 51 | <Setter Property="Visibility" Value="Collapsed" />
|
45 | 52 | <Style.Triggers>
|
46 | 53 | <DataTrigger Binding="{Binding ElementName=tbSuffixes, Path=IsFocused}" Value="True">
|
47 | 54 | <Setter Property="Visibility" Value="Visible" />
|
48 | 55 | </DataTrigger>
|
| 56 | + <DataTrigger Binding="{Binding ElementName=tbSuffixes, Path=IsFocused}" Value="False"> |
| 57 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 58 | + </DataTrigger> |
49 | 59 | </Style.Triggers>
|
50 | 60 | </Style>
|
51 | 61 |
|
52 |
| - <Style x:Key="URLToolTip" TargetType="TextBlock"> |
| 62 | + <Style x:Key="SettingGroupBoxURLToolTip" TargetType="Border"> |
| 63 | + <Setter Property="Background" Value="{DynamicResource Color00B}" /> |
| 64 | + <Setter Property="BorderBrush" Value="{DynamicResource Color03B}" /> |
| 65 | + <Setter Property="BorderThickness" Value="1" /> |
| 66 | + <Setter Property="CornerRadius" Value="5" /> |
| 67 | + <Setter Property="Margin" Value="0,5,0,0" /> |
| 68 | + <Setter Property="Padding" Value="15,15,15,15" /> |
| 69 | + <Setter Property="SnapsToDevicePixels" Value="True" /> |
53 | 70 | <Setter Property="Visibility" Value="Collapsed" />
|
54 | 71 | <Style.Triggers>
|
55 | 72 | <DataTrigger Binding="{Binding ElementName=tbProtocols, Path=IsFocused}" Value="True">
|
56 | 73 | <Setter Property="Visibility" Value="Visible" />
|
57 | 74 | </DataTrigger>
|
| 75 | + <DataTrigger Binding="{Binding ElementName=tbProtocols, Path=IsFocused}" Value="False"> |
| 76 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 77 | + </DataTrigger> |
58 | 78 | </Style.Triggers>
|
59 | 79 | </Style>
|
| 80 | + |
60 | 81 | </Window.Resources>
|
61 | 82 |
|
62 |
| - <Grid> |
| 83 | + <Grid x:Name="WindowArea"> |
63 | 84 | <Grid.RowDefinitions>
|
64 | 85 | <RowDefinition Height="auto" />
|
65 | 86 | <RowDefinition Height="80" />
|
|
111 | 132 | TextAlignment="Left" />
|
112 | 133 | </StackPanel>
|
113 | 134 | <TextBlock
|
| 135 | + Margin="0,0,0,10" |
114 | 136 | FontSize="14"
|
115 | 137 | Text="{DynamicResource flowlauncher_plugin_program_only_index_tip}"
|
116 | 138 | TextWrapping="Wrap" />
|
117 |
| - <Border> |
| 139 | + <Border Style="{DynamicResource SettingGroupBoxURLToolTip}"> |
118 | 140 | <TextBlock
|
119 |
| - Margin="0,0,0,0" |
120 |
| - Style="{StaticResource URLToolTip}" |
| 141 | + FontSize="14" |
121 | 142 | Text="{DynamicResource flowlauncher_plugin_program_protocol_tooltip}"
|
122 | 143 | TextWrapping="Wrap" />
|
123 | 144 | </Border>
|
124 | 145 |
|
125 |
| - <Border> |
| 146 | + <Border Style="{DynamicResource SettingGroupBoxSuffixToolTip}"> |
126 | 147 | <TextBlock
|
127 |
| - Margin="0,0,0,0" |
128 |
| - Style="{StaticResource SuffixToolTip}" |
| 148 | + FontSize="14" |
129 | 149 | Text="{DynamicResource flowlauncher_plugin_program_suffixes_tooltip}"
|
130 | 150 | TextWrapping="Wrap" />
|
131 | 151 | </Border>
|
|
155 | 175 | Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_file_types}" />
|
156 | 176 | <TextBox
|
157 | 177 | x:Name="tbSuffixes"
|
158 |
| - Margin="10,4,0,0" |
| 178 | + Margin="10,4,0,6" |
159 | 179 | Style="{StaticResource CustomFileTypeTextBox}" />
|
160 | 180 | </StackPanel>
|
161 | 181 |
|
|
180 | 200 | Content="{DynamicResource flowlauncher_plugin_program_suffixes_custom_urls}" />
|
181 | 201 | <TextBox
|
182 | 202 | x:Name="tbProtocols"
|
183 |
| - Margin="10,4,0,0" |
| 203 | + Margin="10,4,0,6" |
184 | 204 | Style="{StaticResource CustomURLTypeTextBox}" />
|
185 | 205 | </StackPanel>
|
186 | 206 | </Border>
|
|
0 commit comments