interface icon
This commit is contained in:
1 parent
ffabd67a96
commit
02a0d5bd3f
2 files changed
+3
-2
No files matched your search
@@ -20,7 +20,7 @@ public class InterfaceIcon : VisualElement {
|
||||
public new class UxmlFactory : UxmlFactory<InterfaceIcon, UxmlTraits> {}
|
||||
public new class UxmlTraits : VisualElement.UxmlTraits {
|
||||
readonly UxmlEnumAttributeDescription<Icon> _iconAttribute = new() { name = "icon" };
|
||||
readonly UxmlStringAttributeDescription _detailAttribute = new UxmlStringAttributeDescription() { name = "text" };
|
||||
readonly UxmlStringAttributeDescription _detailAttribute = new UxmlStringAttributeDescription() { name = "detail" };
|
||||
|
||||
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc) {
|
||||
base.Init(ve, bag, cc);
|
||||
|
||||
Reference in new issue
Block a user