aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-03-05 09:12:59 +0200
committerRoy <roy.mail.net@gmail.com>2018-03-05 09:12:59 +0200
commit8e2cbf02b6c819e92ee4eec2a673586438edfa93 (patch)
treec12fd2c91c5abb4cae725ac39792c69b25118faa /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml
parent2b8e41b5279c2d3ab370595f6593b64ea734ef87 (diff)
downloadTango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.tar.gz
Tango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.zip
Some work on embroidery import/export.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml
index a753453f9..22414b4b2 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/EmbroideryDisplayView.xaml
@@ -9,7 +9,7 @@
xmlns:converters="clr-namespace:Tango.MachineStudio.Developer.Converters"
xmlns:local="clr-namespace:Tango.MachineStudio.Developer.Views"
mc:Ignorable="d"
- Width="600" Height="350" Background="White" d:DataContext="{d:DesignInstance Type=vm:EmbroideryDisplayViewVM, IsDesignTimeCreatable=False}">
+ Width="1280" Height="720" Background="White" d:DataContext="{d:DesignInstance Type=vm:EmbroideryDisplayViewVM, IsDesignTimeCreatable=False}">
<UserControl.Resources>
<converters:ByteArrayToBitmapSourceConverter x:Key="ByteArrayToBitmapSourceConverter" />
@@ -33,12 +33,18 @@
</Grid>
<Grid Grid.Row="1">
+ <Grid.Background>
+ <ImageBrush ImageSource="../Images/seamless-grid.jpg" Stretch="None" Opacity="0.5" TileMode="Tile" ViewportUnits="Absolute" Viewport="0,0,32,32"></ImageBrush>
+ </Grid.Background>
+ <Rectangle HorizontalAlignment="Left" Stroke="Silver"></Rectangle>
+ <Rectangle HorizontalAlignment="Right" Stroke="Silver"></Rectangle>
<Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="{Binding Job.EmbroideryJpeg,Converter={StaticResource ByteArrayToBitmapSourceConverter}}"></Image>
</Grid>
<Grid Grid.Row="2">
+ <Rectangle VerticalAlignment="Top" Stroke="Silver"></Rectangle>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Height="40" Command="{Binding ExportCommand}">
+ <Button Height="50" Command="{Binding ExportCommand}" Width="180">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="Export" Width="24" Height="24" />
<TextBlock Margin="5 0 0 0" FontSize="16">EXPORT</TextBlock>