Skip to content

Commit 6e5a9c2

Browse files
committed
Change settings logo
1 parent 7d761d3 commit 6e5a9c2

2 files changed

Lines changed: 2 additions & 20 deletions

File tree

app/Project Tracker/Project Tracker/EditProgram.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</ComboBox>
4242

4343
<Border BorderBrush="LightGray" BorderThickness="0">
44-
<TextBlock x:Name="editButton" HorizontalAlignment="Left" Margin="10,0,0,10" TextWrapping="Wrap" Text="&#xE70F;" VerticalAlignment="Bottom" Width="30" FontFamily="Segoe MDL2 Assets" FontSize="24" Cursor="Hand" Focusable="False" FontWeight="Bold" TextAlignment="Center" PreviewMouseDown="Edit" />
44+
<TextBlock x:Name="settingsButton" HorizontalAlignment="Left" Margin="10,0,0,10" TextWrapping="Wrap" Text="&#xE713;" VerticalAlignment="Bottom" Width="30" FontFamily="Segoe MDL2 Assets" FontSize="24" Cursor="Hand" Focusable="False" FontWeight="Bold" TextAlignment="Center" PreviewMouseDown="Edit" />
4545
</Border>
4646
<Border BorderBrush="LightGray" BorderThickness="0">
4747
<TextBlock x:Name="stopwatchButton" HorizontalAlignment="Left" Margin="50,0,0,10" TextWrapping="Wrap" Text="&#xE916;" VerticalAlignment="Bottom" Width="30" FontFamily="Segoe MDL2 Assets" FontSize="24" Cursor="Hand" Focusable="False" FontWeight="Bold" TextAlignment="Center" PreviewMouseDown="Stopwatch" Foreground="#FF9C0909" />

app/Project Tracker/Project Tracker/EditProgram.xaml.cs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -556,25 +556,7 @@ private void Stopwatch(object sender, MouseButtonEventArgs e) {
556556
}
557557

558558
private void Edit(object sender, MouseButtonEventArgs e) {
559-
// Hide everything
560-
durationLabel.Visibility = Visibility.Hidden;
561-
commentScrollView.Visibility = Visibility.Hidden;
562-
errorScrollView.Visibility = Visibility.Hidden;
563-
featureScrollView.Visibility = Visibility.Hidden;
564-
565-
// Create new checkboxes
566-
CheckBox box;
567-
StackPanel panel = new StackPanel { Orientation = System.Windows.Controls.Orientation.Vertical };
568-
for (int i = 0; i < errors.Count; i++) {
569-
box = new CheckBox();
570-
box.Content = errors[i];
571-
box.VerticalAlignment = VerticalAlignment.Top;
572-
box.HorizontalAlignment = HorizontalAlignment.Left;
573-
box.Margin = new Thickness(10, i * 50, 50, 50);
574-
575-
panel.Children.Add(box);
576-
}
577-
this.Content = panel;
559+
578560
}
579561

580562
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) {

0 commit comments

Comments
 (0)