[skip ci] Explain why to not label with tooltip
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/SendTabView.xaml
<StackPanel DockPanel.Dock="Bottom" Margin="0 10" Spacing="10" HorizontalAlignment="Left">
<TextBlock>Note that, you must select coins you want to spend from.</TextBlock>
<controls:ExtendedTextBox Text="{Binding Address}" Watermark="Address" UseFloatingWatermark="True" />
- <controls:ExtendedTextBox Text="{Binding Label}" Watermark="Label" UseFloatingWatermark="True" IsEnabled="{Binding !IsMax}">
- <ToolTip.Tip>
- Start labelling today and your privacy will thank you tomorrow!
- </ToolTip.Tip>
- </controls:ExtendedTextBox>
+ <controls:ExtendedTextBox Text="{Binding Label}" Watermark="Label" UseFloatingWatermark="True" IsReadOnly="{Binding IsMax}" ToolTip.Tip="{Binding LabelToolTip}" />
<StackPanel Orientation="Horizontal" Spacing="10">
<Button Content="{Binding MaxClear}" Command="{Binding MaxCommand}" VerticalAlignment="Top" />
<controls:ExtendedTextBox Foreground="{Binding IsMax, Converter={StaticResource AmountForegroundConverter}}" IsReadOnly="{Binding IsMax}" Text="{Binding Amount}" Watermark="Amount (BTC)" UseFloatingWatermark="True" MinWidth="124" MinHeight="46" />

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -29,6 +29,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private string _password;
private string _address;
private string _label;
+ private string _labelToolTip;
private bool _isBusy;
private string _warningMessage;
private string _successMessage;
@@ -193,6 +194,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
IgnoreAmountChanges = true;
Amount = "All Selected Coins!";
IgnoreAmountChanges = false;
+
+ LabelToolTip = "Spending whole coins doesn't generate change, thus labeling is unnecessary.";
}
private void ResetMax()
@@ -203,6 +206,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
IgnoreAmountChanges = true;
Amount = "0.0";
IgnoreAmountChanges = false;
+
+ LabelToolTip = "Start labelling today and your privacy will thank you tomorrow!";
}
public CoinListViewModel CoinList
@@ -289,6 +294,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set { this.RaiseAndSetIfChanged(ref _label, value); }
}
+ public string LabelToolTip
+ {
+ get { return _labelToolTip; }
+ set { this.RaiseAndSetIfChanged(ref _labelToolTip, value); }
+ }
+
public string WarningMessage
{
get { return _warningMessage; }

[skip ci] Explain why to not label with tooltip