Skip to content

Commit

Permalink
Tooltips added for poster mode search window.
Browse files Browse the repository at this point in the history
  • Loading branch information
DineshSolanki committed Jul 27, 2021
1 parent 9a13d3e commit 8cc718f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion FoliCon/Views/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
ToolTip="Controls whether to hide or show Rating Shield" />
<MenuItem x:Name="ChkPosterShown" Header="Always show poster window"
IsChecked="{Binding IsPosterWindowShown}" IsCheckable="True"
ToolTip="Show poster window even if exact title found.this would let you chose different poster for them also&#x0a; this overrides 'Ignore Ambiguous title' option" />
ToolTip="Show poster window even if exact title found.this would let you chose different poster for them and custom rating also&#x0a; this overrides 'Ignore Ambiguous title' option" />
<MenuItem x:Name="ChkIsPosterOverlayVisible" Header="Use Poster overlay"
IsChecked="{Binding IsPosterMockupUsed}" IsCheckable="True"
ToolTip="Controls whether to use poster Overlay or Plain Posters" />
Expand Down
10 changes: 5 additions & 5 deletions FoliCon/Views/SearchResult.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
<RowDefinition Height="35" />
</Grid.RowDefinitions>
<Button Content="Pick Selected" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="0" Style="{StaticResource ButtonPrimary}"
Command="{Binding PickCommand}" IsDefault="True" />
Command="{Binding PickCommand}" IsDefault="True"/>
<Button Content="Skip" HorizontalAlignment="Right" VerticalAlignment="Top" Grid.Row="0" Style="{StaticResource ButtonDanger}"
Command="{Binding SkipCommand}" IsCancel="True" />
Command="{Binding SkipCommand}" IsCancel="True" ToolTip="Skip this title." />
<ListView x:Name="ListViewResult" ItemsSource="{Binding ResultListViewData.Data}"
SelectedItem="{Binding ResultListViewData.SelectedItem}" Grid.Row="1">
<hc:Interaction.Triggers>
Expand Down Expand Up @@ -98,7 +98,7 @@
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Grid.Row="0" Command="{Binding SkipAllCommand}" Content="ALL"
HorizontalAlignment="Left" VerticalAlignment="Top" Height="30" Width="41" />
HorizontalAlignment="Left" VerticalAlignment="Top" Height="30" Width="41" ToolTip="Skip this and all remaining titles." />
<hc:PreviewSlider x:Name="SizeSlider" Grid.Row="0" Grid.Column="1" Minimum="12" Maximum="25" Value="15"
VerticalAlignment="Center" Height="18" />
<Image Grid.Row="1" Grid.Column="0" Source="{StaticResource LoadingPoster}" Stretch="Fill" Height="198"
Expand All @@ -114,8 +114,8 @@
<DropShadowEffect />
</Image.Effect>
</Image>
<Button Content="Show more..." Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource ButtonInfo}" Margin="0,5,0,5" Command="{Binding MouseDoubleClickCommand}" IsEnabled="{Binding Path=SelectedItem.(models:ListItem.Poster), ElementName=ListViewResult, Converter={StaticResource Object2BooleanConverter}}"/>
<hc:MaskedTextBox Mask="0.0" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" hc:TitleElement.TitlePlacement="Left" hc:TitleElement.Title="Custom rating: " Margin="5" Text="{Binding Path=CustomRating}"/>
<Button Content="Show more..." Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource ButtonInfo}" Margin="0,5,0,5" Command="{Binding MouseDoubleClickCommand}" IsEnabled="{Binding Path=SelectedItem.(models:ListItem.Poster), ElementName=ListViewResult, Converter={StaticResource Object2BooleanConverter}}" ToolTip="See more posters/covers."/>
<hc:MaskedTextBox Mask="0.0" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" hc:TitleElement.TitlePlacement="Left" hc:TitleElement.Title="Custom rating: " Margin="5" Text="{Binding Path=CustomRating}" ToolTip="This lets you set your own rating instead of one fetched by FoliCon."/>
<TextBox Foreground="Black" Grid.Row="1" Grid.Column="1"
Text="{Binding Path=SelectedItem.(models:ListItem.Overview), ElementName=ListViewResult}" TextWrapping="Wrap"
FontSize="{Binding Value, ElementName=SizeSlider}" HorizontalAlignment="Stretch"
Expand Down

0 comments on commit 8cc718f

Please sign in to comment.