From 8eec1d7db020e49ecb2b02bd24302a8780e5eb23 Mon Sep 17 00:00:00 2001 From: Lukas Kytka Date: Tue, 24 Oct 2023 14:12:28 +0200 Subject: [PATCH] additional visual improvement on AxoComponent and AxoMessenger details --- .../AxoComponent/AxoComponentView.razor | 3 ++- .../Static/AxoMessengerDetailedView.razor | 15 +++++++-------- .../Static/AxoMessengerDetailedView.razor.cs | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor b/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor index ac2b08266..759fb4e47 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor +++ b/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor @@ -4,7 +4,8 @@ @using AXSharp.Presentation.Blazor.Controls.Layouts.TabControlComponents; @inherits RenderableComplexComponentBase; -
+ +
@Component.AttributeName
diff --git a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor index 3db2ff19c..4fd0417e8 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor +++ b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor @@ -6,9 +6,9 @@ @if (Component.State > eAxoMessengerState.Idle) { -
- @if (!OnlyAlarmView) - { +
+ +
@@ -31,15 +31,14 @@
-
- } - else +
+ @if (!OnlyAlarmView) {
- + *@
} diff --git a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs index 5a4611df0..aa36cf132 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs +++ b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs @@ -237,7 +237,7 @@ private string GetHelpText() return retVal; } - private bool OnlyAlarmView { get; set; } + private bool OnlyAlarmView { get; set; } = true; private void ToggleComponentView() { @@ -246,7 +246,7 @@ private void ToggleComponentView() private void ToggleAlarmView() { - this.OnlyAlarmView = true; + this.OnlyAlarmView = !this.OnlyAlarmView; } }