mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-12 22:50:44 -05:00
add warning icon tooltip
This commit is contained in:
parent
2b8a3751ec
commit
1cc8ae64ff
@ -23,8 +23,12 @@
|
|||||||
<Path Data="{StaticResource Profile}" Fill="{StaticResource AKI_Brush_DarkGrayBlue}"
|
<Path Data="{StaticResource Profile}" Fill="{StaticResource AKI_Brush_DarkGrayBlue}"
|
||||||
IsVisible="{Binding IsInProfile, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
IsVisible="{Binding IsInProfile, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
||||||
/>
|
/>
|
||||||
<Path Data="{StaticResource Alert}" Fill="{StaticResource AKI_Brush_Yellow}" Margin="0 2 0 0"
|
|
||||||
>
|
<Canvas>
|
||||||
|
<Rectangle ToolTip.Tip="{Binding Source={x:Static helpers:LocalizationProvider.Instance}, Path=mod_not_in_server_warning}" Fill="Transparent" Height="20" Width="20"/>
|
||||||
|
<Path Data="{StaticResource Alert}" Fill="{StaticResource AKI_Brush_Yellow}"
|
||||||
|
Margin="0 2 0 0" ToolTip.Tip="{Binding Source={x:Static helpers:LocalizationProvider.Instance}, Path=mod_not_in_server_warning}"
|
||||||
|
>
|
||||||
<Path.IsVisible>
|
<Path.IsVisible>
|
||||||
<MultiBinding Converter="{x:Static BoolConverters.And}">
|
<MultiBinding Converter="{x:Static BoolConverters.And}">
|
||||||
<Binding Path="IsInProfile" RelativeSource="{RelativeSource AncestorType=UserControl}"/>
|
<Binding Path="IsInProfile" RelativeSource="{RelativeSource AncestorType=UserControl}"/>
|
||||||
@ -32,6 +36,7 @@
|
|||||||
</MultiBinding>
|
</MultiBinding>
|
||||||
</Path.IsVisible>
|
</Path.IsVisible>
|
||||||
</Path>
|
</Path>
|
||||||
|
</Canvas>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<Label Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2"
|
<Label Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2"
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
/>
|
/>
|
||||||
<!-- LocaleCollection reloads the locale from file when the selected loacle changes -->
|
<!-- LocaleCollection reloads the locale from file when the selected loacle changes -->
|
||||||
<ComboBox Items="{Binding Locales.AvailableLocales}" MinWidth="200"
|
<ComboBox Items="{Binding Locales.AvailableLocales}" MinWidth="200"
|
||||||
SelectedItem="{Binding Locales.SelectedLocale, Mode=TwoWay }"
|
SelectedItem="{Binding Locales.SelectedLocale, Mode=TwoWay}"
|
||||||
/>
|
/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user