interface icon
This commit is contained in:
1 parent
a065c09e47
commit
20e77bb548
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