refactor: SimpleLite 迁移到 Simple3,插件窗体改用 FairyView ForceFloat
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using CycleGUI;
|
||||
using FairyView;
|
||||
using StandardScene.Utils;
|
||||
|
||||
namespace StandardScene.Charge
|
||||
@@ -77,7 +77,7 @@ namespace StandardScene.Charge
|
||||
|
||||
var panel = GUI.DeclarePanel()
|
||||
.ShowTitle("通讯监控")
|
||||
.SetDefaultDocking(Panel.Docking.None)
|
||||
.ForceFloat()
|
||||
.InitSize(1400, 800)
|
||||
.InitPos(false, 0, 0, 0.5f, 0.5f, 0.5f, 0.5f);
|
||||
_panel = panel;
|
||||
@@ -164,7 +164,7 @@ namespace StandardScene.Charge
|
||||
_selectedRowIndex = i;
|
||||
_parsedText = BuildParsedText(msg);
|
||||
}
|
||||
}, height: 20, enableSearch: true);
|
||||
}, height: CycleUiHelper.TableHeightPx(20), enableSearch: true);
|
||||
|
||||
pb.SeparatorText("报文解析");
|
||||
pb.SelectableText(null, _parsedText ?? "", copyButton: true);
|
||||
|
||||
Reference in New Issue
Block a user