mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Converted ImageInfo panel information to a two column layout.
This commit is contained in:
@@ -47,31 +47,35 @@
|
|||||||
<Design.DataContext>
|
<Design.DataContext>
|
||||||
<panels:ImageInfoViewModel />
|
<panels:ImageInfoViewModel />
|
||||||
</Design.DataContext>
|
</Design.DataContext>
|
||||||
<Grid RowDefinitions="Auto,Auto,Auto,Auto,Auto,*,Auto"
|
<Grid RowDefinitions="Auto,*,Auto"
|
||||||
Margin="12"
|
Margin="12"
|
||||||
RowSpacing="8">
|
RowSpacing="8">
|
||||||
<Border Grid.Row="0"
|
<Grid Grid.Row="0"
|
||||||
Width="160"
|
ColumnDefinitions="Auto,*"
|
||||||
Height="160"
|
ColumnSpacing="16">
|
||||||
HorizontalAlignment="Center"
|
<Border Grid.Column="0"
|
||||||
VerticalAlignment="Center"
|
Width="160"
|
||||||
Background="LightGray"
|
Height="160"
|
||||||
CornerRadius="80"
|
HorizontalAlignment="Left"
|
||||||
Padding="16">
|
VerticalAlignment="Top"
|
||||||
<Image Width="128"
|
Background="LightGray"
|
||||||
Height="128"
|
CornerRadius="80"
|
||||||
Source="{Binding MediaLogo, Mode=OneWay}" />
|
Padding="16">
|
||||||
</Border>
|
<Image Width="128"
|
||||||
<controls:SpectreTextBlock Grid.Row="1"
|
Height="128"
|
||||||
Text="{x:Static localization:UI.Title_Image_information}"
|
Source="{Binding MediaLogo, Mode=OneWay}" />
|
||||||
FontWeight="Bold" />
|
</Border>
|
||||||
<controls:SpectreTextBlock Grid.Row="2"
|
<StackPanel Grid.Column="1"
|
||||||
Text="{Binding ImagePathText, Mode=OneWay}" />
|
Spacing="8"
|
||||||
<controls:SpectreTextBlock Grid.Row="3"
|
VerticalAlignment="Center">
|
||||||
Text="{Binding FilterText, Mode=OneWay}" />
|
<controls:SpectreTextBlock Text="{x:Static localization:UI.Title_Image_information}"
|
||||||
<controls:SpectreTextBlock Grid.Row="4"
|
FontWeight="Bold" />
|
||||||
Text="{Binding ImageIdentifiedText, Mode=OneWay}" />
|
<controls:SpectreTextBlock Text="{Binding ImagePathText, Mode=OneWay}" />
|
||||||
<TabControl Grid.Row="5">
|
<controls:SpectreTextBlock Text="{Binding FilterText, Mode=OneWay}" />
|
||||||
|
<controls:SpectreTextBlock Text="{Binding ImageIdentifiedText, Mode=OneWay}" />
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
<TabControl Grid.Row="1">
|
||||||
<TabItem>
|
<TabItem>
|
||||||
<TabItem.Header>
|
<TabItem.Header>
|
||||||
<StackPanel Orientation="Horizontal"
|
<StackPanel Orientation="Horizontal"
|
||||||
@@ -681,7 +685,8 @@
|
|||||||
<ContentControl Content="{Binding CompactDiscInfo, Mode=OneWay}"
|
<ContentControl Content="{Binding CompactDiscInfo, Mode=OneWay}"
|
||||||
Margin="8" />
|
Margin="8" />
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem IsVisible="{Binding !!DvdInfo, Mode=OneWay}"> <TabItem.Header>
|
<TabItem IsVisible="{Binding !!DvdInfo, Mode=OneWay}">
|
||||||
|
<TabItem.Header>
|
||||||
<StackPanel Orientation="Horizontal"
|
<StackPanel Orientation="Horizontal"
|
||||||
Spacing="4">
|
Spacing="4">
|
||||||
<Svg MaxHeight="24"
|
<Svg MaxHeight="24"
|
||||||
@@ -757,7 +762,7 @@
|
|||||||
Margin="8" />
|
Margin="8" />
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
<WrapPanel Grid.Row="6"
|
<WrapPanel Grid.Row="2"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
VerticalAlignment="Bottom">
|
VerticalAlignment="Bottom">
|
||||||
<Button Command="{Binding EntropyCommand, Mode=OneWay}"
|
<Button Command="{Binding EntropyCommand, Mode=OneWay}"
|
||||||
|
|||||||
Reference in New Issue
Block a user