diff --git a/EbayListingTool/Views/NewListingView.xaml b/EbayListingTool/Views/NewListingView.xaml index 6e6c8d9..619c043 100644 --- a/EbayListingTool/Views/NewListingView.xaml +++ b/EbayListingTool/Views/NewListingView.xaml @@ -26,7 +26,7 @@ HorizontalAlignment="Center" Foreground="{DynamicResource MahApps.Brushes.Gray1}"/> @@ -62,7 +62,7 @@ HorizontalAlignment="Center" Foreground="{DynamicResource MahApps.Brushes.Gray2}"/> @@ -98,7 +98,7 @@ @@ -126,7 +126,7 @@ Background="Transparent" BorderThickness="0" Foreground="{DynamicResource MahApps.Brushes.Gray5}" Cursor="Hand" VerticalAlignment="Center"> - + @@ -172,13 +172,13 @@ @@ -199,7 +199,7 @@ @@ -209,7 +209,7 @@ - @@ -239,7 +239,7 @@ Background="{DynamicResource MahApps.Brushes.Accent}"/> @@ -249,7 +249,7 @@ - @@ -281,12 +281,12 @@ Background="{DynamicResource MahApps.Brushes.Accent}"/> - @@ -306,7 +306,7 @@ @@ -317,7 +317,7 @@ - - @@ -346,7 +346,7 @@ - @@ -368,7 +368,7 @@ Interval="0.50" Margin="0,0,0,4"/> @@ -380,7 +380,7 @@ - @@ -393,7 +393,7 @@ - diff --git a/EbayListingTool/Views/NewListingView.xaml.cs b/EbayListingTool/Views/NewListingView.xaml.cs index 1caea42..3baa963 100644 --- a/EbayListingTool/Views/NewListingView.xaml.cs +++ b/EbayListingTool/Views/NewListingView.xaml.cs @@ -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);