From 4a8962681f54e62da44423b09c3d5fbb82ec82f4 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Tue, 27 Aug 2024 01:10:01 +0300 Subject: [PATCH] Revert "Remove leftover comment & update another comment in 'Get-TabXaml' Private Function" This reverts commit 368e5980df9810a180b8df2f657345c210ffbfe6. --- functions/private/Get-TabXaml.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/private/Get-TabXaml.ps1 b/functions/private/Get-TabXaml.ps1 index 3dc674fd..5eef6417 100644 --- a/functions/private/Get-TabXaml.ps1 +++ b/functions/private/Get-TabXaml.ps1 @@ -132,6 +132,7 @@ function Get-TabXaml { if ($columncount -gt 0) { $panelcount2 = [Int](($count)/$maxcount-0.5) + # Verify the indentation actually works... if ($panelcount -eq $panelcount2 ) { $blockXml += $precal_indent_m1 + "" + "`r`n" @@ -189,7 +190,7 @@ function Get-TabXaml { "HorizontalAlignment=""Left"" Margin=""5"" Padding=""20,5"" $($ButtonWidthStr)/>" + "`r`n" } - # else it's a checkbox + # else it is a checkbox default { $checkedStatus = If ($appInfo.Checked -eq $null) {""} else {" IsChecked=""$($appInfo.Checked)"""} if ($appInfo.Link -eq $null) {