mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-11 08:10:43 +08:00
🦄 Beautiful AntdUI
This commit is contained in:
@@ -48,6 +48,7 @@ Name | Description | Type | Default Value |
|
||||
**EditLostFocus** | Lose focus to exit edit mode | bool | true |
|
||||
**ShowTip** | Omit text prompts | bool | true |
|
||||
**HandShortcutKeys** | Process shortcut keys | bool | true |
|
||||
**ShowCheckBg** | Display checkbox background | bool | true |
|
||||
||||
|
||||
**DefaultExpand** | Whether to expand by default `Tree` | bool | false |
|
||||
**TreeArrowStyle** | Tree table arrow style | TableTreeStyle | Button |
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
[Home](Home.md)・[UpdateLog](UpdateLog.md)・[Config](Config.md)・[Theme](Theme.md)
|
||||
|
||||
### `2.3.1` 2026-03-03
|
||||
|
||||
- ➕ Table ShowCheckBg
|
||||
- ➕ Table Public SetFocusedCell
|
||||
- ✍️ Menu ShowSubBack misaligned
|
||||
- ✍️ Table MVVM Uncheck Background Issue
|
||||
- ✍️ Table Merge Cells with Non True Width
|
||||
- ✍️ FloatButton shadow not displayed
|
||||
- ✍️ ChatList scrollbar interaction
|
||||
- ✍️ Select Sub Level 3 and above cannot set tags to represent name through SelectedValue
|
||||
- ✍️ Rollback text with default line breaks
|
||||
|
||||
### `2.3.0` 2026-02-27
|
||||
|
||||
- ➕ VirtualPanel/Segmented/Breadcrumb/Menu/Tree/Steps/Timeline adaptation language switching
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
**EditLostFocus** | 失去焦点退出编辑模式 | bool | true |
|
||||
**ShowTip** | 省略文字提示 | bool | true |
|
||||
**HandShortcutKeys** | 处理快捷键 | bool | true |
|
||||
**ShowCheckBg** | 显示复选背景 | bool | true |
|
||||
||||
|
||||
**DefaultExpand** | 默认是否展开 `树` | bool | false |
|
||||
**TreeArrowStyle** | 树表格的箭头样式 | TableTreeStyle | Button |
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
[首页](Home.md)・[更新日志](UpdateLog.md)・[配置](Config.md)・[主题](Theme.md)
|
||||
|
||||
### `2.3.1` 2026-03-03
|
||||
|
||||
- ➕ Table ShowCheckBg
|
||||
- ➕ Table 公开 SetFocusedCell
|
||||
- ✍️ Menu ShowSubBack 错位
|
||||
- ✍️ Table 未MVVM 取消复选背景问题
|
||||
- ✍️ Table 合并单元格 非真实宽度
|
||||
- ✍️ FloatButton 阴影不显示
|
||||
- ✍️ ChatList 滚动条交互
|
||||
- ✍️ Select Sub 三层及以上 无法通过 SelectedValue 设置 tag 以表示 name
|
||||
- ✍️ 回滚 文字默认换行
|
||||
|
||||
### `2.3.0` 2026-02-27
|
||||
|
||||
- ➕ VirtualPanel/Segmented/Breadcrumb/Menu/Tree/Steps/Timeline 适配语言切换
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace AntdUI
|
||||
g.Fill(Style.Db.TagDefaultBg, path);
|
||||
g.Draw(Style.Db.DefaultBorder, sp, path);
|
||||
}
|
||||
g.String(Count, font_count, Style.Db.Text, rect_count, FormatFlags.Default);
|
||||
g.String(Count, font_count, Style.Db.Text, rect_count);
|
||||
}
|
||||
|
||||
internal int sp = 1, rl = 0;
|
||||
|
||||
@@ -24,13 +24,13 @@ namespace AntdUI
|
||||
}
|
||||
if (bmp_ac == null) bmp_ac = Value.SvgToBmp(icon_size, icon_size, Style.Db.PrimaryColor);
|
||||
g.Image(bmp_ac, rect_icon);
|
||||
g.String(Key, e.Panel.Font, Style.Db.PrimaryColor, rect_text, FormatFlags.Default);
|
||||
g.String(Key, e.Panel.Font, Style.Db.PrimaryColor, rect_text);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (bmp == null) bmp = Value.SvgToBmp(icon_size, icon_size, Style.Db.Text);
|
||||
g.Image(bmp, rect_icon);
|
||||
g.String(Key, e.Panel.Font, Style.Db.Text, rect_text, FormatFlags.Default);
|
||||
g.String(Key, e.Panel.Font, Style.Db.Text, rect_text);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace FontTest
|
||||
{
|
||||
#region 绘制原始
|
||||
|
||||
var s_f = AntdUI.FormatFlags.Default;
|
||||
var s_f = AntdUI.FormatFlags.Center | AntdUI.FormatFlags.NoWrap;
|
||||
|
||||
using (var bmp_o = new Bitmap(size, size))
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace FontTest
|
||||
flowLayoutPanel1.ResumeLayout();
|
||||
}
|
||||
|
||||
readonly AntdUI.FormatFlags s_f = AntdUI.FormatFlags.Default;
|
||||
readonly AntdUI.FormatFlags s_f = AntdUI.FormatFlags.Center | AntdUI.FormatFlags.NoWrap;
|
||||
Bitmap GetFont(Font font, int size, string text, out int oy)
|
||||
{
|
||||
var bmp = new Bitmap(size, size);
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace AntdUI
|
||||
}
|
||||
}
|
||||
|
||||
static string Rest(string svg) => "<svg " + svg.Replace("[VBD", "viewBox=\"").Replace("[VB3", "viewBox=\"0 0 32 32\">").Replace( "[VB3N", "viewBox=\"0 0 32 32\" fill=\"none\">").Replace("[VB2", "viewBox=\"0 0 1024 1024\">").Replace("[PD", "<path d=\"").Replace("[PE", "</path>").Replace("[PG", "\"></path>").Replace("fillNA", "fill=\"none\"") + "</svg>";
|
||||
static string Rest(string svg) => "<svg " + svg.Replace("[VBD", "viewBox=\"").Replace("[VB3", "viewBox=\"0 0 32 32\">").Replace("[VB3N", "viewBox=\"0 0 32 32\" fill=\"none\">").Replace("[VB2", "viewBox=\"0 0 1024 1024\">").Replace("[PD", "<path d=\"").Replace("[PE", "</path>").Replace("[PG", "\"></path>").Replace("fillNA", "fill=\"none\"") + "</svg>";
|
||||
|
||||
/// <summary>
|
||||
/// 解压缩字符串
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<Description>👚 基于 Ant Design 设计语言的 Winform 界面库</Description>
|
||||
<AssemblyVersion>$(Version)</AssemblyVersion>
|
||||
<FileVersion>$(Version)</FileVersion>
|
||||
<Version>2.3.0</Version>
|
||||
<Version>2.3.1</Version>
|
||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
|
||||
Reference in New Issue
Block a user