From c4cc381cc64f3b6cc6d48f0b12d56f609197e05e Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Fri, 23 Oct 2026 19:35:30 +0700 Subject: [PATCH 01/18] ux(write): keep Browser toolbar caption and footprint stable as Write --- MainWindow.IedBrowser.TypedDataWrite.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MainWindow.IedBrowser.TypedDataWrite.cs b/MainWindow.IedBrowser.TypedDataWrite.cs index b132804fe..46bf39686 100644 --- a/MainWindow.IedBrowser.TypedDataWrite.cs +++ b/MainWindow.IedBrowser.TypedDataWrite.cs @@ -127,8 +127,8 @@ private void RefreshIedBrowserWriteButton() var selectedDo = ctlModel is null && selected is null ? BrowserWritableSelectedDo() : null; IedBrowserWriteButton.IsEnabled = ctlModel is not null || selected is not null || selectedDo is not null; - IedBrowserWriteButton.Content = ctlModel is not null ? "Write ctlModel…" : - selectedDo is not null ? "Write DAs…" : "Write DA…"; + // Stable toolbar footprint. Context belongs in tooltip / editor, never caption. + IedBrowserWriteButton.Content = "Write"; IedBrowserWriteButton.ToolTip = ctlModel is not null ? "Read live ctlModel, choose IEC enum 0–4, confirm a guarded CF Write and verify readback." : selected is not null From 2e48dc656764781887246242b0f32f08cec4633d Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Fri, 23 Oct 2026 19:35:53 +0700 Subject: [PATCH 02/18] ux(write): use supplied Material pencil vector and fixed Write label --- MainWindow.xaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/MainWindow.xaml b/MainWindow.xaml index e4bc8ac63..d3e7e753e 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -2052,10 +2052,18 @@ Style="{StaticResource SoftButton}" Margin="0,0,6,0" IsEnabled="False" Click="IedBrowserControl_Click" ToolTip="Only enabled when this online DO has an existing live-verified native IEC Control descriptor."/> -