Skip to content

Commit d55aece

Browse files
committed
Update tooltip dislay timer on all errors
Immediately show why there is an error for the input TextBox. Help the user correct the invalid entry and not wait for the tooltip to show.
1 parent 5381f60 commit d55aece

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Rubberduck.Core/UI/Refactorings/Rename/RenameView.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
Height="22"
3939
VerticalAlignment="Top"
4040
VerticalContentAlignment="Center"
41-
ToolTipService.InitialShowDelay="0"
4241
HorizontalAlignment="Stretch" />
4342
</Grid>
4443
<Grid Grid.Row="2" Background="{x:Static SystemColors.ControlDarkBrush}" Grid.IsSharedSizeScope="True">

Rubberduck.Core/UI/Styles/DefaultStyle.xaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@
135135
</ControlTemplate>
136136
</Setter.Value>
137137
</Setter>
138+
<Setter Property="ToolTipService.InitialShowDelay">
139+
<Setter.Value>0</Setter.Value>
140+
</Setter>
138141
<Style.Triggers>
139142
<Trigger Property="Validation.HasError"
140143
Value="True">

0 commit comments

Comments
 (0)