Skip to content

Commit

Permalink
Add tooltips for the hidden text boxes that are used for editing the …
Browse files Browse the repository at this point in the history
…quest name/url.
  • Loading branch information
Kinematics committed May 30, 2015
1 parent e8e9ccf commit eec11e8
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion NetTally/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,27 @@
<TextBox x:Name="editQuestName" Height="30" Margin="10,10,227,0" TextWrapping="Wrap" VerticalAlignment="Top" Visibility="Hidden" FontSize="13.333"
Text="{Binding Path=CurrentItem.DisplayName, UpdateSourceTrigger=PropertyChanged}" KeyUp="editQuestName_KeyUp" GotFocus="textEntry_GotFocus"
PreviewMouseDown="textEntry_PreviewMouseDown" Padding="2,4,70,4">
<TextBox.ToolTip>
<ToolTip>
<StackPanel>
<TextBlock FontWeight="Bold">Edit Quest Name</TextBlock>
<TextBlock>Edit the displayed name of the current quest.</TextBlock>
</StackPanel>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
<TextBox x:Name="editQuestThread" Height="30" Margin="10,10,227,0" TextWrapping="Wrap" VerticalAlignment="Top" Visibility="Hidden" FontSize="13.333"
Text="{Binding Path=CurrentItem.ThreadName, UpdateSourceTrigger=PropertyChanged}" KeyUp="editQuestThread_KeyUp" GotFocus="textEntry_GotFocus"
PreviewMouseDown="textEntry_PreviewMouseDown" Padding="2,4,70,4"/>
PreviewMouseDown="textEntry_PreviewMouseDown" Padding="2,4,70,4">
<TextBox.ToolTip>
<ToolTip>
<StackPanel>
<TextBlock FontWeight="Bold">Edit Quest URL</TextBlock>
<TextBlock>Edit the thread URL of the current quest.</TextBlock>
</StackPanel>
</ToolTip>
</TextBox.ToolTip>
</TextBox>
<Canvas x:Name="editDescriptorCanvas" Height="30" Margin="10,10,227,0" VerticalAlignment="Top" Visibility="Hidden">
<TextBlock x:Name="editDescriptor" FontSize="18" Foreground="BlueViolet" Text="Quest Name" Canvas.Top="3" Canvas.Right="4"/>
</Canvas>
Expand Down

0 comments on commit eec11e8

Please sign in to comment.