Remove leftover comment & update another comment in 'Get-TabXaml' Private Function

This commit is contained in:
Mr.k 2024-07-10 00:56:05 +03:00
parent af1743066f
commit 368e5980df
No known key found for this signature in database

View File

@ -128,7 +128,6 @@ function Get-TabXaml {
if ($columncount -gt 0) { if ($columncount -gt 0) {
$panelcount2 = [Int](($count)/$maxcount-0.5) $panelcount2 = [Int](($count)/$maxcount-0.5)
# Verify the indentation actually works...
if ($panelcount -eq $panelcount2 ) { if ($panelcount -eq $panelcount2 ) {
$blockXml += $precal_indent_m1 + $blockXml += $precal_indent_m1 +
"</StackPanel>" + "`r`n" "</StackPanel>" + "`r`n"
@ -186,7 +185,7 @@ function Get-TabXaml {
"HorizontalAlignment=""Left"" Margin=""5"" Padding=""20,5"" $($ButtonWidthStr)/>" + "`r`n" "HorizontalAlignment=""Left"" Margin=""5"" Padding=""20,5"" $($ButtonWidthStr)/>" + "`r`n"
} }
# else it is a checkbox # else it's a checkbox
default { default {
$checkedStatus = If ($appInfo.Checked -eq $null) {""} Else {" IsChecked=""$($appInfo.Checked)"""} $checkedStatus = If ($appInfo.Checked -eq $null) {""} Else {" IsChecked=""$($appInfo.Checked)"""}
if ($appInfo.Link -eq $null) { if ($appInfo.Link -eq $null) {