完成UISlideButton测试用例
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<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="True">
|
||||
<ui:Template name="SlideButtonTemplate1" src="project://database/Assets/UI%20Toolkit/GamePage/SlideButtonTemplate1.uxml?fileID=9197481963319205126&guid=90b68087028f53345aa820b038f0bc8a&type=3#SlideButtonTemplate1" />
|
||||
<ui:VisualElement style="height: 100px; background-color: rgb(200, 237, 239); align-items: center; justify-content: center;">
|
||||
<ui:VisualElement name="SlideButton" class="slidebutton-bg" style="background-color: rgb(124, 169, 182); width: 400px; height: 80px; border-top-left-radius: 30px; border-top-right-radius: 30px; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
|
||||
<ui:VisualElement name="Slide" style="position: absolute; background-color: rgb(255, 255, 255); height: 60px; border-top-left-radius: 25px; border-top-right-radius: 25px; border-bottom-right-radius: 25px; border-bottom-left-radius: 25px; width: 120px; top: 10px; left: 10px;" />
|
||||
<ui:VisualElement name="Container" style="flex-grow: 1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;">
|
||||
<ui:Instance template="SlideButtonTemplate1" name="SlideButtonTemplate1" />
|
||||
<ui:Instance template="SlideButtonTemplate1" name="SlideButtonTemplate1" />
|
||||
<ui:Instance template="SlideButtonTemplate1" name="SlideButtonTemplate1" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
Reference in New Issue
Block a user