Skip to content

Commit

Permalink
Basic grid definition in Xaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelAlho committed Jun 15, 2014
1 parent f1b466d commit 4e250d3
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions YoutubeGetter/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
<Window x:Class="YoutubeGetter.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Youtube Getter" Height="350" Width="600">
<Grid Margin="0,0,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="199*"/>
</Grid.ColumnDefinitions>
<StatusBar HorizontalAlignment="Left" Height="32" Margin="0,289,-0.4,-0.2" VerticalAlignment="Top" Width="594"/>
<Menu HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="594" Margin="0,0,-0.4,0">
<Menu Height="231" Width="259" Name="FileMenu">
<MenuItem Name="File" Header="File" ></MenuItem>
<MenuItem Name="Settings" Header="Settings"></MenuItem>
<MenuItem Name="About" Header="About"></MenuItem>
</Menu>
</Menu>
<Grid HorizontalAlignment="Left" Height="245" Margin="0,39,-0.4,0" VerticalAlignment="Top" Width="594">
<TextBox x:Name="YoutubeLink" HorizontalAlignment="Left" Height="37" Margin="10,0,0,0" TextWrapping="Wrap" Text="place youtube link here" VerticalAlignment="Top" Width="449" FontSize="18"/>
<Button Content="Add to Queue" Margin="471,0,3,209" VerticalAlignment="Bottom" Height="36" Click="Button_Click" RenderTransformOrigin="0.5,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-1.754"/>
<RotateTransform/>
<TranslateTransform X="0.566"/>
</TransformGroup>
</Button.RenderTransform>
</Button>
Title="Youtube Getter" Height="600" Width="960">
<Grid Margin="10,10,0,0" VerticalAlignment="Top" Height="489">
<Grid.RowDefinitions>
<RowDefinition Height="100"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid VerticalAlignment="Top" Name="TopDownloadBlock" Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBox Grid.Column="0"
x:Name="YoutubeLink"
Margin="10,10,10,10"
Text="place youtube link here"
VerticalAlignment="Top"
FontSize="18"></TextBox>
<Button Grid.Column="1" Content="Get Video"
Margin="10,10,10,10"
Click="Button_Click"></Button>
<Button Grid.Column="2"
Content="Get Audio"
Margin="10,10,10,10"
Click="Button_Click"></Button>
</Grid>
<Grid Row="1">

</Grid>

</Grid>
</Window>

0 comments on commit 4e250d3

Please sign in to comment.