interface icon

This commit is contained in:
ntr committed 2023-08-24 14:56:00 +10:00
1 parent a065c09e47
commit 20e77bb548
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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);