From c449bb0741a19f185915e9f976b0a77144da78b4 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 12 Sep 2024 07:54:44 +0200 Subject: [PATCH] Fix toggler display --- .../Pages/TestGraphCompo.razor | 37 ++++++++++++++++++- .../Properties/launchSettings.json | 4 +- EgwCoreLib.Razor/Toggler.razor | 2 +- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/EgwCoreLib.BlazorTest/Pages/TestGraphCompo.razor b/EgwCoreLib.BlazorTest/Pages/TestGraphCompo.razor index acfa8a1..6f5d5cf 100644 --- a/EgwCoreLib.BlazorTest/Pages/TestGraphCompo.razor +++ b/EgwCoreLib.BlazorTest/Pages/TestGraphCompo.razor @@ -2,7 +2,7 @@ Test -
+

Test Componenti Arrow SVG

@@ -21,13 +21,36 @@
- +
+

Test Componenti Vari

+
+
+
+ +
+
+
+
+
+

Test Input

+
+
+
+ +
+
+
+
@code { + Toggler.SelectGlobalToggle TogFilter { get; set; } = new Toggler.SelectGlobalToggle(); + private int currentCount = 0; protected Random rnd = new Random(); + private int numero = 0; + protected override void OnInitialized() { base.OnInitialized(); @@ -47,6 +70,16 @@ listBord03.Add(""); listBord03.Add("Blue"); + // toggler! + TogFilter = new() + { + isActive = true, + leftString = "opzione sx", + rightString = "opzione dx" + }; + + //test input + numero = rnd.Next(0, 100); } diff --git a/EgwCoreLib.BlazorTest/Properties/launchSettings.json b/EgwCoreLib.BlazorTest/Properties/launchSettings.json index 3137728..112c582 100644 --- a/EgwCoreLib.BlazorTest/Properties/launchSettings.json +++ b/EgwCoreLib.BlazorTest/Properties/launchSettings.json @@ -7,7 +7,7 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "dotnetRunMessages": true, - "applicationUrl": "https://localhost:7118;http://localhost:5145" + "applicationUrl": "https://localhost:7118;http://localhost:5146" }, "IIS Express": { "commandName": "IISExpress", @@ -22,7 +22,7 @@ "launchUrl": "https://localhost:7118", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", - "ASPNETCORE_URLS": "https://localhost:7118;http://localhost:5145" + "ASPNETCORE_URLS": "https://localhost:7118;http://localhost:5146" }, "distributionName": "" } diff --git a/EgwCoreLib.Razor/Toggler.razor b/EgwCoreLib.Razor/Toggler.razor index e5c048f..290a4c4 100644 --- a/EgwCoreLib.Razor/Toggler.razor +++ b/EgwCoreLib.Razor/Toggler.razor @@ -1,6 +1,6 @@ 
- @leftString + @leftString