Change default value of border size and rounded rectangle radius

This commit is contained in:
Jaex 2016-11-29 18:36:51 +03:00
parent 1f44d213a6
commit ea5fd4cea1
2 changed files with 2 additions and 3 deletions

View file

@ -31,11 +31,11 @@ public class AnnotationOptions
{
// Drawing
public Color BorderColor { get; set; } = Color.Red;
public int BorderSize { get; set; } = 2;
public int BorderSize { get; set; } = 3;
public Color FillColor { get; set; } = Color.FromArgb(0, 0, 0, 0);
// Rounded rectangle region, rounded rectangle drawing
public int RoundedRectangleRadius { get; set; } = 15;
public int RoundedRectangleRadius { get; set; } = 8;
// Text drawing
public TextDrawingOptions TextOptions { get; set; } = new TextDrawingOptions();

View file

@ -406,7 +406,6 @@ private void CreateToolbar()
tslnudCornerRadius = new ToolStripLabeledNumericUpDown(Resources.ShapeManager_CreateContextMenu_Corner_radius_);
tslnudCornerRadius.Content.Minimum = 0;
tslnudCornerRadius.Content.Maximum = 150;
tslnudCornerRadius.Content.Increment = 3;
tslnudCornerRadius.Content.ValueChanged = (sender, e) =>
{
ShapeType shapeType = CurrentShapeType;