Created a Basic Layout
This commit is contained in:
parent
ce7e815945
commit
4219a62dac
1
.idea/.idea.SCRUM-Timer/.idea/avalonia.xml
generated
1
.idea/.idea.SCRUM-Timer/.idea/avalonia.xml
generated
@ -3,6 +3,7 @@
|
||||
<component name="AvaloniaProject">
|
||||
<option name="projectPerEditor">
|
||||
<map>
|
||||
<entry key="SCRUM-Timer/App.axaml" value="SCRUM-Timer/SCRUM-Timer.csproj" />
|
||||
<entry key="SCRUM-Timer/Views/MainWindow.axaml" value="SCRUM-Timer/SCRUM-Timer.csproj" />
|
||||
</map>
|
||||
</option>
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
|
||||
public partial class MainWindowViewModel : ViewModelBase
|
||||
{
|
||||
public string Greeting { get; } = "Welcome to Avalonia!";
|
||||
public object Time { get; }
|
||||
}
|
||||
@ -7,7 +7,11 @@
|
||||
x:Class="SCRUM_Timer.Views.MainWindow"
|
||||
x:DataType="vm:MainWindowViewModel"
|
||||
Icon="/Assets/avalonia-logo.ico"
|
||||
Title="SCRUM_Timer">
|
||||
Title="SCRUM_Timer"
|
||||
Background="#DCA44B"
|
||||
Height="230"
|
||||
Width="320">
|
||||
|
||||
|
||||
<Design.DataContext>
|
||||
<!-- This only sets the DataContext for the previewer in an IDE,
|
||||
@ -15,6 +19,14 @@
|
||||
<vm:MainWindowViewModel />
|
||||
</Design.DataContext>
|
||||
|
||||
<TextBlock Text="{Binding Greeting}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="80">
|
||||
<TextBlock Text="5:00" FontSize="40" FontFamily="Alumni" HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
|
||||
<DockPanel HorizontalSpacing="50">
|
||||
<Button Content="{Binding Time}" Canvas.Left="60" Canvas.Top="180" />
|
||||
<Button Content="+ 1:00" Canvas.Left="60" Canvas.Top="180" />
|
||||
</DockPanel>
|
||||
</StackPanel>
|
||||
|
||||
</Window>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("SCRUM-Timer")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ce7e8159453387e529886cd24305cd8e479190e9")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("SCRUM-Timer")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("SCRUM-Timer")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
ff027bd6251e3898e8c6b6d1b563f0800d4547e86a10a206ac851d04b86fa3c9
|
||||
db7e1fd2043fd22e30c0189d8bc4f188b59a1cdbd14dc8876ffdc1abb563f72a
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user