버그 수정 중
This commit is contained in:
@@ -123,7 +123,7 @@ namespace UVC.UIToolkit
|
||||
#region Fields
|
||||
private bool _disposed;
|
||||
private bool _isEnabled = true;
|
||||
private bool _isReadOnly;
|
||||
private bool _isReadOnly = false;
|
||||
private string _centerLabel = "Center";
|
||||
private string _extentsLabel = "Extents";
|
||||
private string _xLabel = "X";
|
||||
|
||||
@@ -139,6 +139,19 @@ namespace UVC.UIToolkit
|
||||
EnableInClassList("utk-double-field--disabled", !value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>읽기 전용</summary>
|
||||
[UxmlAttribute("is-readonly")]
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
set
|
||||
{
|
||||
base.isReadOnly = value;
|
||||
EnableInClassList("utk-double-field--readonly", value);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
@@ -151,6 +151,17 @@ namespace UVC.UIToolkit
|
||||
EnableInClassList("utk-float-field--disabled", !value);
|
||||
}
|
||||
}
|
||||
|
||||
[UxmlAttribute("is-readonly")]
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
set
|
||||
{
|
||||
base.isReadOnly = value;
|
||||
EnableInClassList("utk-float-field--readonly", value);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
@@ -161,6 +161,7 @@ namespace UVC.UIToolkit
|
||||
}
|
||||
|
||||
/// <summary>읽기 전용</summary>
|
||||
[UxmlAttribute("is-readonly")]
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
|
||||
@@ -150,6 +150,17 @@ namespace UVC.UIToolkit
|
||||
EnableInClassList("utk-integer-field--disabled", !value);
|
||||
}
|
||||
}
|
||||
|
||||
[UxmlAttribute("is-readonly")]
|
||||
public new bool isReadOnly
|
||||
{
|
||||
get => base.isReadOnly;
|
||||
set
|
||||
{
|
||||
base.isReadOnly = value;
|
||||
EnableInClassList("utk-integer-field--readonly", value);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace UVC.UIToolkit
|
||||
#region Fields
|
||||
private bool _disposed;
|
||||
private bool _isEnabled = true;
|
||||
private bool _isReadOnly;
|
||||
private bool _isReadOnly = false;
|
||||
private string _xLabel = "X";
|
||||
private string _yLabel = "Y";
|
||||
private string _wLabel = "W";
|
||||
|
||||
Reference in New Issue
Block a user