|
852 | 852 | <DataTemplate>
|
853 | 853 | <!-- Hover Layout Style-->
|
854 | 854 | <Border x:Name="HoverArea" Padding="0" MinWidth="390" BorderBrush="Black" BorderThickness="0" Background="Transparent" >
|
855 |
| - <Grid HorizontalAlignment="Left" VerticalAlignment="Center"> |
| 855 | + <Grid HorizontalAlignment="Left" VerticalAlignment="Stretch"> |
856 | 856 | <Grid.ColumnDefinitions>
|
857 | 857 | <ColumnDefinition Width="72"/>
|
858 | 858 | <ColumnDefinition Width="*" />
|
|
905 | 905 | </StackPanel.Style>
|
906 | 906 |
|
907 | 907 |
|
908 |
| - <Grid Width="390" Height="100" HorizontalAlignment="Center" Panel.ZIndex="1"> |
| 908 | + <Grid Width="390" Height="94" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="1"> |
909 | 909 | <Grid.Background>
|
910 |
| - <SolidColorBrush Color="#f6f6f6" Opacity=".8"/> |
| 910 | + <SolidColorBrush Color="#f6f6f6" Opacity=".95"/> |
911 | 911 | </Grid.Background>
|
912 |
| - <Button Foreground="Black" Name="ShortCutButtonPrev" Content="Install" Width="120" MinHeight="50" VerticalAlignment="Center"> |
913 |
| - <Button.Style> |
914 |
| - <Style> |
915 |
| - <Setter Property="Button.Visibility" Value="Collapsed"></Setter> |
916 |
| - <Style.Triggers> |
917 |
| - <DataTrigger Binding="{Binding Mode=TwoWay, Path=IsSelected, RelativeSource={RelativeSource AncestorType=ListBoxItem, Mode=FindAncestor}}" Value="true"> |
918 |
| - <Setter Property="Button.Visibility" Value="Visible"></Setter> |
919 |
| - </DataTrigger> |
920 |
| - </Style.Triggers> |
921 |
| - </Style> |
922 |
| - </Button.Style> |
| 912 | + <Grid.ColumnDefinitions> |
| 913 | + <ColumnDefinition Width="*"/> |
| 914 | + <ColumnDefinition Width="150" /> |
| 915 | + </Grid.ColumnDefinitions> |
| 916 | + |
| 917 | + <StackPanel Grid.Column="0" VerticalAlignment="Center"> |
| 918 | + <StackPanel Orientation="Horizontal"> |
| 919 | + <TextBlock Text="{Binding PluginPair.Metadata.Name}" FontWeight="Bold" |
| 920 | + TextWrapping="WrapWithOverflow" Padding="0 0 0 0" Margin="20 0 0 0" |
| 921 | + ToolTip="{Binding PluginPair.Metadata.Name}" /> |
| 922 | + <TextBlock Text="{Binding PluginPair.Metadata.Version}" |
| 923 | + TextWrapping="WrapWithOverflow" Padding="0 0 20 0" Margin="10 0 0 0" |
| 924 | + ToolTip="{Binding PluginPair.Metadata.Version}" /> |
| 925 | + </StackPanel> |
| 926 | + <TextBlock Opacity="0.5" TextWrapping="Wrap" Margin="20 2 0 0" Padding="0 0 20 0" > |
| 927 | + <Run Text="{Binding PluginPair.Metadata.Author}" FontSize="12" /> |
| 928 | + </TextBlock> |
| 929 | + </StackPanel> |
| 930 | + |
| 931 | + <Button Foreground="Black" Name="ShortCutButtonPrev" Content="Install" Width="90" MinHeight="40" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1"> |
923 | 932 | </Button>
|
924 | 933 | </Grid>
|
925 | 934 | </StackPanel>
|
|
0 commit comments