BITKit/Src/Unity/UX/ui_context_menu.uxml

14 lines
1.3 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/BITKit/Unity/UX/Common/Common.uss?fileID=7433441132597879392&amp;guid=a3a69d3518fd02b489e721f3c5b0b539&amp;type=3#Common" />
<Style src="project://database/Assets/BITKit/Unity/UX/MaterialDesign.uss?fileID=7433441132597879392&amp;guid=e4dec78bf3c31184ca4f258af4dd1f8e&amp;type=3#MaterialDesign" />
<ui:VisualElement name="background-image" class="root" style="flex-grow: 1;" />
<ui:VisualElement name="menu-container" class="material context-menu">
<ui:Label text="文件" display-tooltip-when-elided="true" name="Label" />
<ui:Button text="新建" display-tooltip-when-elided="true" />
<ui:Button text="复制" display-tooltip-when-elided="true" />
<ui:Button text="粘贴" display-tooltip-when-elided="true" />
<ui:Label text="属性" display-tooltip-when-elided="true" enable-rich-text="false" />
<ui:Button text="创建到快捷方式" display-tooltip-when-elided="true" />
</ui:VisualElement>
</ui:UXML>