mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:26:31 +00:00
small visual fixes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user