diff --git a/doc/wiki/en/Control/Table.md b/doc/wiki/en/Control/Table.md index 597f278f..c2311646 100644 --- a/doc/wiki/en/Control/Table.md +++ b/doc/wiki/en/Control/Table.md @@ -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 | diff --git a/doc/wiki/en/UpdateLog.md b/doc/wiki/en/UpdateLog.md index f41823e4..05c731f0 100644 --- a/doc/wiki/en/UpdateLog.md +++ b/doc/wiki/en/UpdateLog.md @@ -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 diff --git a/doc/wiki/zh/Control/Table.md b/doc/wiki/zh/Control/Table.md index aa8cad21..fad3f85a 100644 --- a/doc/wiki/zh/Control/Table.md +++ b/doc/wiki/zh/Control/Table.md @@ -48,6 +48,7 @@ **EditLostFocus** | 失去焦点退出编辑模式 | bool | true | **ShowTip** | 省略文字提示 | bool | true | **HandShortcutKeys** | 处理快捷键 | bool | true | +**ShowCheckBg** | 显示复选背景 | bool | true | |||| **DefaultExpand** | 默认是否展开 `树` | bool | false | **TreeArrowStyle** | 树表格的箭头样式 | TableTreeStyle | Button | diff --git a/doc/wiki/zh/UpdateLog.md b/doc/wiki/zh/UpdateLog.md index 59279656..011564b3 100644 --- a/doc/wiki/zh/UpdateLog.md +++ b/doc/wiki/zh/UpdateLog.md @@ -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 适配语言切换 diff --git a/example/Demo/UI/TItem.cs b/example/Demo/UI/TItem.cs index 8e4ac2d4..e108703a 100644 --- a/example/Demo/UI/TItem.cs +++ b/example/Demo/UI/TItem.cs @@ -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; diff --git a/example/Demo/UI/VIItem.cs b/example/Demo/UI/VIItem.cs index 183823c9..9146da82 100644 --- a/example/Demo/UI/VIItem.cs +++ b/example/Demo/UI/VIItem.cs @@ -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); } } diff --git a/example/FontTest/Main.cs b/example/FontTest/Main.cs index 5e728946..1239a1c3 100644 --- a/example/FontTest/Main.cs +++ b/example/FontTest/Main.cs @@ -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)) { diff --git a/example/FontTest/UserControl1.cs b/example/FontTest/UserControl1.cs index 59ab8996..f522ffac 100644 --- a/example/FontTest/UserControl1.cs +++ b/example/FontTest/UserControl1.cs @@ -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); diff --git a/src/AntdUI.EmojiFluentFlat/FluentFlat.cs b/src/AntdUI.EmojiFluentFlat/FluentFlat.cs index 6bb3d0b1..5877c682 100644 --- a/src/AntdUI.EmojiFluentFlat/FluentFlat.cs +++ b/src/AntdUI.EmojiFluentFlat/FluentFlat.cs @@ -26,7 +26,7 @@ namespace AntdUI } } - static string Rest(string svg) => "").Replace( "[VB3N", "viewBox=\"0 0 32 32\" fill=\"none\">").Replace("[VB2", "viewBox=\"0 0 1024 1024\">").Replace("[PD", "").Replace("[PG", "\">").Replace("fillNA", "fill=\"none\"") + ""; + static string Rest(string svg) => "").Replace("[VB3N", "viewBox=\"0 0 32 32\" fill=\"none\">").Replace("[VB2", "viewBox=\"0 0 1024 1024\">").Replace("[PD", "").Replace("[PG", "\">").Replace("fillNA", "fill=\"none\"") + ""; /// /// 解压缩字符串 diff --git a/src/AntdUI/AntdUI.csproj b/src/AntdUI/AntdUI.csproj index bf9989d4..b2a02570 100644 --- a/src/AntdUI/AntdUI.csproj +++ b/src/AntdUI/AntdUI.csproj @@ -13,7 +13,7 @@ 👚 基于 Ant Design 设计语言的 Winform 界面库 $(Version) $(Version) - 2.3.0 + 2.3.1 false 9.0 True