ui: bigger thumbnails (60->96 strip, 72->100 panel), increase font sizes for readability

This commit is contained in:
2026-04-16 02:37:01 +01:00
parent e936877542
commit 2903035d8c
2 changed files with 31 additions and 31 deletions

View File

@@ -26,7 +26,7 @@
HorizontalAlignment="Center"
Foreground="{DynamicResource MahApps.Brushes.Gray1}"/>
<TextBlock Text="This usually takes 1020 seconds"
FontSize="11" HorizontalAlignment="Center"
FontSize="13" HorizontalAlignment="Center"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"
Margin="0,6,0,0"/>
</StackPanel>
@@ -62,7 +62,7 @@
HorizontalAlignment="Center"
Foreground="{DynamicResource MahApps.Brushes.Gray2}"/>
<TextBlock Text="or click to browse — up to 12 photos"
FontSize="12" HorizontalAlignment="Center"
FontSize="13" HorizontalAlignment="Center"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"
Margin="0,6,0,0"/>
</StackPanel>
@@ -98,7 +98,7 @@
</Button>
<TextBlock x:Name="PhotoCountLabel"
HorizontalAlignment="Center" Margin="0,8,0,0"
FontSize="11" Visibility="Collapsed"
FontSize="13" Visibility="Collapsed"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
</StackPanel>
@@ -126,7 +126,7 @@
Background="Transparent" BorderThickness="0"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"
Cursor="Hand" VerticalAlignment="Center">
<TextBlock FontSize="11">
<TextBlock FontSize="13">
<Run Text="&#8592; "/>
<Run Text="Start Over" TextDecorations="Underline"/>
</TextBlock>
@@ -172,13 +172,13 @@
<!-- LEFT: Photos panel -->
<DockPanel Grid.Column="0">
<TextBlock DockPanel.Dock="Top"
Text="PHOTOS" FontSize="10" FontWeight="SemiBold"
Text="PHOTOS" FontSize="12" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"
Margin="0,0,0,8"/>
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" Margin="0,8,0,0">
<Button x:Name="AddMorePhotosBtn" Click="AddMorePhotos_Click"
Style="{StaticResource MahApps.Styles.Button.Square}"
Padding="8,4" FontSize="11">
Padding="8,4" FontSize="13">
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Plus" Width="12" Height="12"
Margin="0,0,4,0" VerticalAlignment="Center"/>
@@ -187,7 +187,7 @@
</Button>
<TextBlock x:Name="BPhotoCount"
Margin="8,0,0,0" VerticalAlignment="Center"
FontSize="11"
FontSize="13"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
</StackPanel>
<ScrollViewer VerticalScrollBarVisibility="Auto">
@@ -199,7 +199,7 @@
<ScrollViewer Grid.Column="2" VerticalScrollBarVisibility="Auto">
<StackPanel Margin="0,0,8,16" MaxWidth="600">
<TextBlock Text="LISTING DETAILS"
FontSize="10" FontWeight="SemiBold"
FontSize="12" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"
Margin="0,0,0,12"/>
@@ -209,7 +209,7 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Title" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Title" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
VerticalAlignment="Center"/>
<Button Grid.Column="1" x:Name="AiTitleBtn" Click="AiTitle_Click"
@@ -221,7 +221,7 @@
Margin="0,0,4,0" VerticalAlignment="Center"/>
<mah:ProgressRing x:Name="TitleSpinner" Width="12" Height="12"
Margin="0,0,4,0" Visibility="Collapsed"/>
<TextBlock Text="AI" FontSize="10" VerticalAlignment="Center"/>
<TextBlock Text="AI" FontSize="12" VerticalAlignment="Center"/>
</StackPanel>
</Button>
</Grid>
@@ -239,7 +239,7 @@
Background="{DynamicResource MahApps.Brushes.Accent}"/>
</Border>
<TextBlock x:Name="BTitleCount" Grid.Column="1"
Text="0 / 80" FontSize="10" Margin="6,0,0,0"
Text="0 / 80" FontSize="12" Margin="6,0,0,0"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
</Grid>
@@ -249,7 +249,7 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Description" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Description" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
VerticalAlignment="Center"/>
<Button Grid.Column="1" x:Name="AiDescBtn" Click="AiDesc_Click"
@@ -261,7 +261,7 @@
Margin="0,0,4,0" VerticalAlignment="Center"/>
<mah:ProgressRing x:Name="DescSpinner" Width="12" Height="12"
Margin="0,0,4,0" Visibility="Collapsed"/>
<TextBlock Text="AI" FontSize="10" VerticalAlignment="Center"/>
<TextBlock Text="AI" FontSize="12" VerticalAlignment="Center"/>
</StackPanel>
</Button>
</Grid>
@@ -281,12 +281,12 @@
Background="{DynamicResource MahApps.Brushes.Accent}"/>
</Border>
<TextBlock x:Name="BDescCount" Grid.Column="1"
Text="0 / 2000" FontSize="10" Margin="6,0,0,0"
Text="0 / 2000" FontSize="12" Margin="6,0,0,0"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
</Grid>
<!-- Category -->
<TextBlock Text="Category" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Category" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
Margin="0,0,0,4"/>
<Grid Margin="0,0,0,2">
@@ -306,7 +306,7 @@
</Grid>
<TextBlock x:Name="BCategoryIdLabel"
Text="(no category selected)"
FontSize="10" Margin="0,0,0,12"
FontSize="12" Margin="0,0,0,12"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
<!-- Condition + Format -->
@@ -317,7 +317,7 @@
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0">
<TextBlock Text="Condition" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Condition" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
Margin="0,0,0,4"/>
<ComboBox x:Name="BConditionBox"
@@ -330,7 +330,7 @@
</ComboBox>
</StackPanel>
<StackPanel Grid.Column="2">
<TextBlock Text="Format" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Format" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
Margin="0,0,0,4"/>
<ComboBox x:Name="BFormatBox">
@@ -346,7 +346,7 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Text="Price" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Price" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
VerticalAlignment="Center"/>
<Button Grid.Column="1" x:Name="AiPriceBtn" Click="AiPrice_Click"
@@ -358,7 +358,7 @@
Margin="0,0,4,0" VerticalAlignment="Center"/>
<mah:ProgressRing x:Name="PriceSpinner" Width="12" Height="12"
Margin="0,0,4,0" Visibility="Collapsed"/>
<TextBlock Text="Research" FontSize="10" VerticalAlignment="Center"/>
<TextBlock Text="Research" FontSize="12" VerticalAlignment="Center"/>
</StackPanel>
</Button>
</Grid>
@@ -368,7 +368,7 @@
Interval="0.50"
Margin="0,0,0,4"/>
<TextBlock x:Name="BPriceHint"
FontSize="10" Margin="0,0,0,12"
FontSize="12" Margin="0,0,0,12"
Visibility="Collapsed"
Foreground="{DynamicResource MahApps.Brushes.Gray5}"/>
@@ -380,7 +380,7 @@
<ColumnDefinition Width="120"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0">
<TextBlock Text="Postage" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="Postage" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
Margin="0,0,0,4"/>
<ComboBox x:Name="BPostageBox">
@@ -393,7 +393,7 @@
</ComboBox>
</StackPanel>
<StackPanel Grid.Column="2">
<TextBlock Text="From postcode" FontSize="11" FontWeight="SemiBold"
<TextBlock Text="From postcode" FontSize="13" FontWeight="SemiBold"
Foreground="{DynamicResource MahApps.Brushes.Gray3}"
Margin="0,0,0,4"/>
<TextBox x:Name="BPostcodeBox"/>

View File

@@ -142,19 +142,19 @@ public partial class NewListingView : UserControl
var bmp = new BitmapImage();
bmp.BeginInit();
bmp.UriSource = new Uri(path, UriKind.Absolute);
bmp.DecodePixelWidth = 80;
bmp.DecodePixelWidth = 120;
bmp.CacheOption = BitmapCacheOption.OnLoad;
bmp.EndInit();
bmp.Freeze();
var img = new Image
{
Source = bmp, Width = 60, Height = 60,
Source = bmp, Width = 96, Height = 96,
Stretch = System.Windows.Media.Stretch.UniformToFill,
Margin = new Thickness(3)
Margin = new Thickness(4)
};
img.Clip = new System.Windows.Media.RectangleGeometry(
new Rect(0, 0, 60, 60), 4, 4);
new Rect(0, 0, 96, 96), 6, 6);
ThumbStrip.Children.Add(img);
}
catch { /* skip bad files */ }
@@ -455,18 +455,18 @@ public partial class NewListingView : UserControl
var bmp = new BitmapImage();
bmp.BeginInit();
bmp.UriSource = new Uri(path, UriKind.Absolute);
bmp.DecodePixelWidth = 128;
bmp.DecodePixelWidth = 160;
bmp.CacheOption = BitmapCacheOption.OnLoad;
bmp.EndInit();
bmp.Freeze();
var img = new Image
{
Width = 72, Height = 72,
Width = 100, Height = 100,
Stretch = System.Windows.Media.Stretch.UniformToFill,
Source = bmp, ToolTip = System.IO.Path.GetFileName(path)
};
img.Clip = new System.Windows.Media.RectangleGeometry(new Rect(0, 0, 72, 72), 4, 4);
img.Clip = new System.Windows.Media.RectangleGeometry(new Rect(0, 0, 100, 100), 6, 6);
var removeBtn = new Button
{
@@ -511,7 +511,7 @@ public partial class NewListingView : UserControl
var container = new Grid
{
Width = 72, Height = 72, Margin = new Thickness(4),
Width = 100, Height = 100, Margin = new Thickness(4),
Cursor = Cursors.SizeAll, AllowDrop = true, Tag = path
};
container.Children.Add(img);