-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoalDetailView.xaml.old
More file actions
28 lines (24 loc) · 1.49 KB
/
GoalDetailView.xaml.old
File metadata and controls
28 lines (24 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Window x:Class="Goal_Tracker.GoalDetailView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Goal Details" Height="400" Width="600" WindowStyle="ToolWindow">
<Grid>
<StackPanel Margin="10">
<TextBlock Text="Goal Settings" FontSize="20" FontWeight="Bold" Margin="0,0,0,20" HorizontalAlignment="Center"/>
<TextBlock Text="Name:" FontWeight="Bold"/>
<TextBox Name="GoalNameTextBox" Text="{Binding Name}" FontSize="14" Margin="0,0,0,10"/>
<TextBlock Text="Description:" FontWeight="Bold"/>
<TextBox Name="GoalDescriptionTextBox" Text="{Binding Description}" FontSize="14" Margin="0,0,0,10" AcceptsReturn="True" Height="100"/>
<TextBlock Text="Difficulty Tier:" FontWeight="Bold"/>
<ComboBox Name="GoalDifficultyComboBox"
SelectedValue="{Binding Difficulty}"
FontSize="14" Margin="0,0,0,10">
</ComboBox>
<!-- Using a horizontal StackPanel to place the buttons side by side -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,20,0,0">
<Button Content="OK" Width="120" Height="40" Margin="0,0,10,0" Click="SaveButton_Click"/>
<Button Content="Delete Goal" Width="120" Height="40" Click="DeleteButton_Click"/>
</StackPanel>
</StackPanel>
</Grid>
</Window>