Replace StackPanel with WrapPanel in ImageInfo.xaml for improved button layout

This commit is contained in:
2025-12-15 09:33:00 +00:00
parent 72b20f9938
commit 306f6e3168

View File

@@ -623,12 +623,11 @@
Margin="8" /> Margin="8" />
</TabItem> </TabItem>
</TabControl> </TabControl>
<StackPanel Grid.Row="6" <WrapPanel Grid.Row="6"
Orientation="Horizontal" HorizontalAlignment="Right"
Spacing="8" VerticalAlignment="Bottom">
VerticalAlignment="Bottom" <Button Command="{Binding EntropyCommand, Mode=OneWay}"
HorizontalAlignment="Right"> Margin="4">
<Button Command="{Binding EntropyCommand, Mode=OneWay}">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="CalculatorArrowClockwise" /> <ic:FluentIcon Icon="CalculatorArrowClockwise" />
@@ -636,7 +635,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding VerifyCommand, Mode=OneWay}"> <Button Command="{Binding VerifyCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="Stethoscope" /> <ic:FluentIcon Icon="Stethoscope" />
@@ -644,7 +644,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding ChecksumCommand, Mode=OneWay}"> <Button Command="{Binding ChecksumCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="ShieldAdd" /> <ic:FluentIcon Icon="ShieldAdd" />
@@ -652,7 +653,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding ConvertCommand, Mode=OneWay}"> <Button Command="{Binding ConvertCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="ArrowSwap" /> <ic:FluentIcon Icon="ArrowSwap" />
@@ -660,7 +662,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding CreateSidecarCommand, Mode=OneWay}"> <Button Command="{Binding CreateSidecarCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="DocumentBulletListMultiple" /> <ic:FluentIcon Icon="DocumentBulletListMultiple" />
@@ -668,7 +671,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding ViewSectorsCommand, Mode=OneWay}"> <Button Command="{Binding ViewSectorsCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="TableSearch" /> <ic:FluentIcon Icon="TableSearch" />
@@ -676,7 +680,8 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
<Button Command="{Binding DecodeMediaTagCommand, Mode=OneWay}"> <Button Command="{Binding DecodeMediaTagCommand, Mode=OneWay}"
Margin="4">
<StackPanel Orientation="Horizontal" <StackPanel Orientation="Horizontal"
Spacing="4"> Spacing="4">
<ic:FluentIcon Icon="SaveSearch" /> <ic:FluentIcon Icon="SaveSearch" />
@@ -684,6 +689,6 @@
VerticalAlignment="Center" /> VerticalAlignment="Center" />
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </WrapPanel>
</Grid> </Grid>
</UserControl> </UserControl>