Files
MRCC/launcher/PCL-CE/Plain Craft Launcher 2/Controls/MySearchBox.xaml
T
xyou f70b061d1a
CI / Go Backend (push) Canceled after 0s
feat: 项目初始化 + 3D方块世界原型 + AI助搭系统
初始化 monorepo: Go后端(7微服务) + Unity客户端(9模块) + 启动器

HTML5原型: Three.js 3D体素世界, Perlin噪声地形, 原版材质, 22种方块

Minecraft创造模式背包: 双栏布局, 拖拽移动物品, 方向性元件引脚

AI助搭策划文档 + 客户端/服务端骨架 + Docker Compose + CI
2026-08-08 14:07:56 +08:00

26 lines
1.7 KiB
XML

<local:MyCard x:Class="PCL.MySearchBox"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PCL"
xmlns:svgIcon="clr-namespace:PCL.Core.UI.Controls.SvgIcon;assembly=PCL.Core"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Height="40">
<Grid>
<local:MyTextBox HasBackground="False" x:Name="TextBox" BorderThickness="0" Padding="32,0,40,0" MaxLength="50"
FontSize="13.5" UseLayoutRounding="False" SnapsToDevicePixels="False"
VerticalContentAlignment="Center"
TextChanged="Text_TextChanged" />
<svgIcon:SvgIcon Width="14" Margin="14,0,0,0" IsHitTestVisible="False" Height="14"
IconBrush="{DynamicResource ColorBrush1}" Icon="lucide/search"
HorizontalAlignment="Left" />
<local:MyIconButton x:Name="BtnClear" Click="BtnClear_Click" IsHitTestVisible="False" Opacity="0" Width="24" Margin="0,0,10,0"
LogoScale="0.75" Height="24"
SvgIcon="lucide/x"
HorizontalAlignment="Right" Theme="Black" />
<local:MyButton x:Name="BtnSearch" Click="BtnSearch_Click" Visibility="Collapsed" Margin="0,4,4,4" Text="{DynamicResource Common.Action.Search}" Width="60"
ColorType="Highlight" HorizontalAlignment="Right" />
</Grid>
</local:MyCard>