diff --git a/EbayListingTool/Views/MainWindow.xaml b/EbayListingTool/Views/MainWindow.xaml index f3c85ae..b1a5518 100644 --- a/EbayListingTool/Views/MainWindow.xaml +++ b/EbayListingTool/Views/MainWindow.xaml @@ -59,6 +59,14 @@ + + + @@ -93,8 +101,8 @@ - + @@ -106,6 +114,7 @@ + @@ -115,7 +124,8 @@ + VerticalAlignment="Center" + /> diff --git a/EbayListingTool/Views/NewListingView.xaml b/EbayListingTool/Views/NewListingView.xaml index 619c043..12628a7 100644 --- a/EbayListingTool/Views/NewListingView.xaml +++ b/EbayListingTool/Views/NewListingView.xaml @@ -1,17 +1,69 @@ - + Loaded="UserControl_Loaded" + KeyboardNavigation.TabNavigation="Cycle"> + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - @@ -36,34 +89,39 @@ + MinHeight="180" + AutomationProperties.Name="Photo drop zone - drop photos here or click to browse"> + Stroke="{DynamicResource MahApps.Brushes.Gray6}" + IsHitTestVisible="False"/> + Margin="0,40" + IsHitTestVisible="False"> + Margin="0,0,0,16" + IsTabStop="False"/> - @@ -73,6 +131,7 @@ @@ -83,14 +142,16 @@ Click="Analyse_Click" IsEnabled="False" Style="{StaticResource MahApps.Styles.Button.Square.Accent}" - Padding="28,12" FontSize="14" FontWeight="SemiBold"> + Padding="28,12" FontSize="14" FontWeight="SemiBold" + AutomationProperties.Name="Identify and price item with AI"> + Visibility="Collapsed" + IsTabStop="False"/> @@ -106,11 +167,11 @@ - + - + + Cursor="Hand" VerticalAlignment="Center" + AutomationProperties.Name="Start over and discard edits"> @@ -135,7 +197,8 @@ @@ -162,9 +227,9 @@ - + - + @@ -172,13 +237,13 @@ + MaxLength="80" Margin="0,0,0,2" + AutomationProperties.LabeledBy="{Binding ElementName=TitleLabel}"/> - - + + Text="0 / 80" Style="{StaticResource CharCountLabel}"/> @@ -249,18 +316,20 @@ - @@ -268,32 +337,31 @@ + Margin="0,0,0,2" + AutomationProperties.LabeledBy="{Binding ElementName=DescLabel}"/> - - + + Text="0 / 2000" Style="{StaticResource CharCountLabel}"/> - + mah:TextBoxHelper.Watermark="Type to search categories." + AutomationProperties.LabeledBy="{Binding ElementName=CategoryLabel}"/> + BorderBrush="{DynamicResource MahApps.Brushes.Gray6}" + VirtualizingPanel.IsVirtualizing="True" + VirtualizingPanel.VirtualizationMode="Recycling" + ScrollViewer.CanContentScroll="True" + AutomationProperties.Name="Category suggestions"/> - + SelectionChanged="ConditionBox_SelectionChanged" + AutomationProperties.LabeledBy="{Binding ElementName=ConditionLabel}"> @@ -330,10 +403,11 @@ - - + @@ -346,27 +420,30 @@ - + Margin="0,0,0,4" + AutomationProperties.LabeledBy="{Binding ElementName=PriceLabel}"/> - - + @@ -393,10 +471,11 @@ - - + @@ -405,7 +484,7 @@ - + @@ -413,7 +492,8 @@ CornerRadius="8" Padding="24,16" Margin="0,0,0,28"> + Foreground="#4CAF50" VerticalAlignment="Center" Margin="0,0,12,0" + IsTabStop="False"/> @@ -427,10 +507,12 @@ Foreground="{DynamicResource MahApps.Brushes.Accent}" HorizontalAlignment="Center" Cursor="Hand" TextWrapping="Wrap" TextAlignment="Center" Margin="0,0,0,16" - MouseLeftButtonUp="SuccessUrl_Click"/> + MouseLeftButtonUp="SuccessUrl_Click" + AutomationProperties.Name="Listing URL - click to open"/> @@ -270,20 +302,22 @@ - + + Foreground="{DynamicResource MahApps.Brushes.Gray5}" + IsTabStop="False"/> - + Foreground="{DynamicResource MahApps.Brushes.Gray5}" + IsTabStop="False"/> @@ -293,6 +327,7 @@ @@ -320,22 +355,23 @@