Finito testo
This commit is contained in:
parent
bdf3f01374
commit
7c1633261c
5 changed files with 35 additions and 33 deletions
|
|
@ -6,7 +6,8 @@
|
|||
xmlns:wpfCatalog="clr-namespace:WPFCatalog"
|
||||
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
||||
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
||||
mc:Ignorable="d"
|
||||
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="900" d:DesignWidth="500"
|
||||
d:DataContext="{d:DesignInstance wpfCatalog:MainWindowViewModel}"
|
||||
>
|
||||
|
|
@ -32,12 +33,12 @@
|
|||
<TextBox Grid.Row="0" Grid.Column="1" x:Name="txtSorgente" Margin="0,5" Text="{Binding DirSorgente}" Controls:TextBoxHelper.ClearTextButton="True" />
|
||||
<Button Grid.Row="0" Grid.Column="2" x:Name="btnSelectSorgente" Margin="5,5" Command="{Binding SelectSourceFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-6.png" />
|
||||
<iconPacks:PackIconMaterial Kind="FolderPlus" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
<Button Grid.Row="0" Grid.Column="3" x:Name="btnOpenSorgente" Margin="5,5" Command="{Binding OpenSourceFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-folder.png" />
|
||||
<iconPacks:PackIconMaterial Kind="FolderOutline" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
|
|
@ -45,12 +46,12 @@
|
|||
<TextBox Grid.Row="1" Grid.Column="1" x:Name="txtDestinazione" Margin="0,5" Text="{Binding DirDestinazione}" Controls:TextBoxHelper.ClearTextButton="True"/>
|
||||
<Button Grid.Row="1" Grid.Column="2" x:Name="btnSelectDestinazione" Margin="5,5" Command="{Binding SelectDestinationFolderCommand}">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-6.png" />
|
||||
<iconPacks:PackIconMaterial Kind="FolderPlus" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
<Button Grid.Row="1" Grid.Column="3" x:Name="btnOpenDestinazione" Margin="5.4,0,4.6,4.6" Command="{Binding OpenDestinationFolderCommand}" Height="19" VerticalAlignment="Bottom">
|
||||
<Button.Content>
|
||||
<Image Source="Icons/document-open-folder.png" />
|
||||
<iconPacks:PackIconMaterial Kind="FolderOutline" />
|
||||
</Button.Content>
|
||||
</Button>
|
||||
<!--<Controls:ToggleSwitch Grid.Row="2" Grid.Column="1" Header="Aggiorna le sottodirectory" IsChecked="{Binding DirAggiornaSottoDirectory}" />-->
|
||||
|
|
|
|||
|
|
@ -98,9 +98,9 @@
|
|||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Dimensione Carattere"/>
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Width="40" Text="{Binding TestoVertDimensioneCarattere}"/>
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding TestoVertDimensioneCarattere}"/>
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Margine"/>
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Width="40" Text="{Binding TestoVertMargine}"/>
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding TestoVertMargine}"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
|
|
@ -126,37 +126,37 @@
|
|||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Content="Trasparenza(0-100%)" />
|
||||
<TextBox Grid.Row="0" Grid.Column="2" Text="{Binding TestoApplicareTrasparenza}" />
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding TestoApplicareTrasparenza}" />
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Posizione" />
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" />
|
||||
<ComboBox Grid.Row="1" Grid.Column="1" />
|
||||
<!--ToDo-->
|
||||
|
||||
<CheckBox Grid.Row="2" Grid.Column="1" Content="Orario" IsChecked="{Binding TestoApplicareOrario}"/>
|
||||
<CheckBox Grid.Row="2" Grid.Column="2" Content="Tempo Gara" IsChecked="{Binding TestoApplicareTempoGaraCheck}"/>
|
||||
<CheckBox Grid.Row="3" Grid.Column="1" Content="Tempo Gara" IsChecked="{Binding TestoApplicareTempoGaraCheck}"/>
|
||||
|
||||
<TextBox Grid.Row="2" Grid.Column="3" Grid.ColumnSpan="2" Text="{Binding TestoApplicareTempoGara}"/>
|
||||
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding TestoApplicareTempoGara}"/>
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="4" Grid.ColumnSpan="2" Content="Margine (pixel)" HorizontalAlignment="Right" />
|
||||
<TextBox Grid.Row="0" Grid.Column="6" Grid.ColumnSpan="2" Text="{Binding TestoApplicareMargine}"/>
|
||||
<Label Grid.Row="5" Grid.Column="0" Content="Margine (pixel)" />
|
||||
<TextBox Grid.Row="5" Grid.Column="1" Text="{Binding TestoApplicareMargine}"/>
|
||||
|
||||
<Label Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2" Content="Allineamento" HorizontalAlignment="Right" />
|
||||
<TextBox Grid.Row="1" Grid.Column="6" Grid.ColumnSpan="2" Text="{Binding TestoApplicareAllineamento}"/>
|
||||
<Label Grid.Row="6" Grid.Column="0" Content="Allineamento" />
|
||||
<TextBox Grid.Row="6" Grid.Column="1" Text="{Binding TestoApplicareAllineamento}"/>
|
||||
|
||||
<Label Grid.Row="2" Grid.Column="5" Content="Partenza" />
|
||||
<ComboBox Grid.Row="2" Grid.Column="6" Grid.ColumnSpan="2" />
|
||||
<Label Grid.Row="7" Grid.Column="0" Content="Partenza" />
|
||||
<ComboBox Grid.Row="7" Grid.Column="1" />
|
||||
<!--todo-->
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
|
||||
xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock"
|
||||
xmlns:controls="clr-namespace:WPFCatalog.Controls"
|
||||
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||
mc:Ignorable="d"
|
||||
|
||||
Title="Image Catalog" Height="466" Width="772"
|
||||
|
|
@ -52,8 +53,8 @@
|
|||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
||||
<TextBlock Text="Generale" Margin="0,0,5,0"/>
|
||||
<Image Source="Icons/camera-photo-5.png" Width="16" Height="16" />
|
||||
<TextBlock Text="Generale" Margin="0,0,5,0" VerticalAlignment="Center"/>
|
||||
<iconPacks:PackIconMaterial Kind="Camera" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
<controls:GeneralSettingsControl ></controls:GeneralSettingsControl>
|
||||
|
|
@ -62,7 +63,7 @@
|
|||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Label Content="Testo" VerticalAlignment="Center"/>
|
||||
<Image Source="Icons/format-justify-left-2.png" />
|
||||
<iconPacks:PackIconMaterial Kind="Textbox" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
<controls:TextSettingsControl></controls:TextSettingsControl>
|
||||
|
|
@ -71,10 +72,8 @@
|
|||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
||||
<CheckBox VerticalAlignment="Center" />
|
||||
<Label VerticalAlignment="Center" Content="Miniature" />
|
||||
<Image Source="Icons/picture.png" />
|
||||
<Label VerticalAlignment="Center" Content="Miniature" VerticalContentAlignment="Center"/>
|
||||
<iconPacks:PackIconMaterial Kind="Image" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
<WrapPanel>
|
||||
|
|
@ -118,10 +117,8 @@
|
|||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
||||
<CheckBox VerticalAlignment="Center" />
|
||||
<Label VerticalAlignment="Center" Content="Logo" />
|
||||
<Image Source="Icons/face-smile-2.png"/>
|
||||
<iconPacks:PackIconFontAwesome Kind="SmileOutline" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,9 @@
|
|||
<Reference Include="MahApps.Metro, Version=1.4.3.0, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.1.4.3\lib\net45\MahApps.Metro.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MahApps.Metro.IconPacks, Version=1.7.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MahApps.Metro.IconPacks.1.7.1\lib\net46\MahApps.Metro.IconPacks.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Practices.ServiceLocation">
|
||||
<HintPath>..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll</HintPath>
|
||||
</Reference>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<package id="CommonServiceLocator" version="1.0" targetFramework="net45" />
|
||||
<package id="Extended.Wpf.Toolkit" version="3.0" targetFramework="net46" />
|
||||
<package id="MahApps.Metro" version="1.4.3" targetFramework="net46" />
|
||||
<package id="MahApps.Metro.IconPacks" version="1.7.1" targetFramework="net46" />
|
||||
<package id="MvvmLight" version="4.1.27.1" targetFramework="net45" />
|
||||
<package id="MvvmLightLibs" version="4.1.27.1" targetFramework="net45" />
|
||||
</packages>
|
||||
Loading…
Add table
Add a link
Reference in a new issue