mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-10-30 19:05:44 +00:00
仓库中添加内置的demo
This commit is contained in:
BIN
demo/FguiCreator3.8/assets/Basics/window/toast/image_toastbg.png
Normal file
BIN
demo/FguiCreator3.8/assets/Basics/window/toast/image_toastbg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
19
demo/FguiCreator3.8/assets/Basics/window/toast/toast.xml
Normal file
19
demo/FguiCreator3.8/assets/Basics/window/toast/toast.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="750,87">
|
||||
<displayList>
|
||||
<image id="n1_e679" name="bg" src="gukgl" fileName="window/toast/image_toastbg.png" xy="2,8" size="746,85">
|
||||
<relation target="n0_8ej8" sidePair="height-height,center-center,middle-middle"/>
|
||||
</image>
|
||||
<text id="n0_8ej8" name="labTips" xy="275,22" size="200,42" fontSize="30" color="#ffd953" align="center" vAlign="middle" leading="10" text="toast提示文本">
|
||||
<relation target="" sidePair="center-center,middle-middle"/>
|
||||
</text>
|
||||
</displayList>
|
||||
<transition name="hide" options="2" frameRate="30">
|
||||
<item time="0" type="Alpha" tween="true" startValue="1" endValue="0" duration="6" ease="Linear"/>
|
||||
<item time="0" type="XY" target="n0_8ej8" tween="true" startValue="-,15" endValue="-,-30" duration="6" ease="Linear"/>
|
||||
</transition>
|
||||
<transition name="show" options="2" frameRate="30">
|
||||
<item time="0" type="Alpha" tween="true" startValue="0" endValue="1" duration="3" ease="Linear"/>
|
||||
<item time="0" type="XY" target="n0_8ej8" value="-,15"/>
|
||||
</transition>
|
||||
</component>
|
||||
Reference in New Issue
Block a user