mirror of
https://onedev.site.tesses.net/crosslang/crosslangdevstudio
synced 2026-02-08 09:15:45 +00:00
Get way further
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
|
||||
<vm:NewProjectDialogViewModel/>
|
||||
</Design.DataContext>
|
||||
<Grid>
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="Auto" />
|
||||
@@ -32,19 +32,19 @@
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Grid.Column="0" Source="{Binding Icon}" />
|
||||
<TextBlock Grid.Column="1" Text="{Binding Name}"/>
|
||||
<TextBlock Margin="10 0 0 0" Grid.Column="1" Text="{Binding Name}" VerticalAlignment="Center"/>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<Grid Grid.Row="1">
|
||||
<Grid Grid.Row="1" Margin="0 10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Column="0" Content="Name: " />
|
||||
<TextBox Grid.Column="1" Text="{Binding Name}" />
|
||||
<TextBox Margin="10 0 0 0" Grid.Column="1" Text="{Binding Name}" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
@@ -53,16 +53,16 @@
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Label Grid.Column="0" Content="Parent Directory: " />
|
||||
<TextBox Grid.Column="1" Text="{Binding ParentDirectory}"/>
|
||||
<Button Grid.Column="2" Content="Browse..." />
|
||||
<TextBox Margin="10 0" Grid.Column="1" Text="{Binding ParentDirectory}"/>
|
||||
<Button Grid.Column="2" Content="Browse..." Command="{Binding BrowseCommand}" />
|
||||
</Grid>
|
||||
<Grid Grid.Row="3">
|
||||
<Grid Grid.Row="3" Margin="0 10 0 0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Button Grid.Column="1" Content="OK" Command="{Binding OKCommand}" />
|
||||
<Button Margin="10 0" Grid.Column="1" Content="OK" Command="{Binding OKCommand}" />
|
||||
<Button Grid.Column="2" Content="Cancel" Command="{Binding CancelCommand}" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user