修改部分bug

This commit is contained in:
chfei committed 2026-10-28 17:56:50 +08:00
1 parent 499379e20b
commit 3135189ea3
18 files changed
+184 -364

No files matched your search

@@ -1,6 +1,4 @@
using MAX.Framework.Controls;
using MAX.Framework.Controls.Attach;
using Prism.Services.Dialogs;
using Store.Management.Framework.Controls;
using Store.Management.Framework.Controls.Attach;
@@ -91,6 +89,8 @@ public partial class DialogWindow : WindowBase, IDialogWindow
if (newContent is UserControl control)
{
WindowStartupLocation = DialogWindowProperty.GetWindowStartupLocation(control);
Setter widthSetter = this.Style.Setters.OfType<Setter>().FirstOrDefault(a => a.Property == WidthProperty);
if (widthSetter == null)
{