make restart message visible on smallest sized window
MODIFY
WalletWasabi.Fluent/Controls/InfoMessage.axaml
WalletWasabi.Fluent/Controls/InfoMessage.axaml
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:c="using:WalletWasabi.Fluent.Controls">
+ xmlns:c="using:WalletWasabi.Fluent.Controls"
+ xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters">
<Style Selector="c|InfoMessage">
+ <Setter Property="IsVisible" x:CompileBindings="False" Value="{Binding $self.Opacity, Converter={x:Static conv:BoolOpacityConverters.OpacityToBool}}" />
<Setter Property="Template">
<ControlTemplate>
<DockPanel Background="{TemplateBinding Background}">
</DockPanel>
</ControlTemplate>
</Setter>
+ <Setter Property="Transitions">
+ <Transitions>
+ <DoubleTransition Property="Opacity" Duration="0:0:0.3" />
+ </Transitions>
+ </Setter>
+ </Style>
+
+ <Style Selector="c|InfoMessage[IsVisible=True]">
+ <Setter Property="Opacity" Value="1"/>
+ </Style>
+
+ <Style Selector="c|InfoMessage[IsVisible=True]">
+ <Setter Property="Opacity" Value="1"/>
</Style>
<Style Selector="c|InfoMessage :is(TextBlock)">

MODIFY
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
xmlns:v="using:WalletWasabi.Fluent.Views.Settings"
xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
+ xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="settings:SettingsPageViewModel"
x:CompileBindings="True"
<Setter Property="Padding" Value="0" />
</Style>
</UserControl.Styles>
- <c:ContentArea Title="Settings" Caption="Manage appearance, privacy and other settings">
<DockPanel LastChildFill="True">
-
<c:InfoMessage Content="Changes will be applied after restarting the application."
Foreground="{StaticResource WarningMessageForeground}"
- IsVisible="{Binding IsModified}"
+ Opacity="{Binding IsModified, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}"
DockPanel.Dock="Bottom" />
+ <c:ContentArea Title="Settings" Caption="Manage appearance, privacy and other settings">
+ <DockPanel LastChildFill="True">
+
<TabControl SelectedIndex="{Binding SelectedTab, Mode=TwoWay}">
<TabItem Header="General">
<v:GeneralSettingsView />
</TabControl>
</DockPanel>
</c:ContentArea>
+ </DockPanel>
</UserControl>

make restart message visible on smallest sized window