small visual fixes

This commit is contained in:
Oleksandr Bezdieniezhnykh
2024-05-15 22:08:55 +03:00
parent 36b521cff3
commit a85022c5fd
2 changed files with 2 additions and 2 deletions
@@ -49,6 +49,7 @@ public class AnnotationControl : Border
HorizontalAlignment = HorizontalAlignment.Center, HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Top, VerticalAlignment = VerticalAlignment.Top,
Margin = new Thickness(0, 15, 0, 0), Margin = new Thickness(0, 15, 0, 0),
FontSize = 14,
Cursor = Cursors.Arrow Cursor = Cursors.Arrow
}; };
_selectionFrame = new Rectangle _selectionFrame = new Rectangle
@@ -41,7 +41,6 @@ public class CanvasEditor : Canvas
_horizontalLine.Stroke = value.ColorBrush; _horizontalLine.Stroke = value.ColorBrush;
_horizontalLine.Fill = value.ColorBrush; _horizontalLine.Fill = value.ColorBrush;
_classNameHint.Text = value.Name; _classNameHint.Text = value.Name;
_classNameHint.Foreground = value.ColorBrush;
_newAnnotationRect.Stroke = value.ColorBrush; _newAnnotationRect.Stroke = value.ColorBrush;
_newAnnotationRect.Fill = value.ColorBrush; _newAnnotationRect.Fill = value.ColorBrush;
@@ -72,7 +71,7 @@ public class CanvasEditor : Canvas
_classNameHint = new TextBlock _classNameHint = new TextBlock
{ {
Text = CurrentAnnClass?.Name ?? "asd", Text = CurrentAnnClass?.Name ?? "asd",
Foreground = new SolidColorBrush(Colors.Blue), Foreground = new SolidColorBrush(Colors.Black),
Cursor = Cursors.Arrow, Cursor = Cursors.Arrow,
FontSize = 16, FontSize = 16,
FontWeight = FontWeights.Bold FontWeight = FontWeights.Bold