@@ -47,6 +47,7 @@ public static string GetData_NoWingetUI()
4747 {
4848 return "{ \" NoWingetUI\" : true }" ;
4949 }
50+
5051 private const string NoWingetUI = @"
5152 {
5253 ""type"": ""Container"",
@@ -78,6 +79,7 @@ public static string GetData_NoWingetUI()
7879 ""size"": ""Small""
7980 }
8081 ],
82+ ""verticalContentAlignment"": ""Center"",
8183 ""height"": ""stretch""
8284 },
8385 {
@@ -90,7 +92,9 @@ public static string GetData_NoWingetUI()
9092 }
9193 ],
9294 ""horizontalAlignment"": ""Center"",
93- ""$when"": ""${$host.widgetSize!=\""small\""}""
95+ ""verticalContentAlignment"": ""Center"",
96+ ""$when"": ""${$host.widgetSize!=\""small\""}"",
97+ ""size"": ""Medium""
9498 }
9599 ],
96100 ""verticalContentAlignment"": ""Center"",
@@ -182,6 +186,7 @@ public static string GetData_NoUpdatesFound()
182186 ""$when"": ""${$host.widgetSize!=\""small\""}""
183187 }
184188 ],
189+ ""verticalContentAlignment"": ""Center"",
185190 ""height"": ""stretch""
186191 },
187192 {
@@ -220,11 +225,15 @@ private static string GeneratePackageStructure(int index)
220225 ""items"": [
221226 {
222227 ""type"": ""Image"",
223- ""url"": ""${Icon" + index . ToString ( ) + @"}""
228+ ""url"": ""${Icon" + index . ToString ( ) + @"}"",
229+ ""width"": ""24px"",
230+ ""height"": ""24px"",
231+ ""horizontalAlignment"": ""Center"",
232+ ""altText"": ""📦""
224233 }
225234 ],
226235 ""verticalContentAlignment"": ""Center"",
227- ""minHeight"": ""36px "",
236+ ""minHeight"": ""34px "",
228237 ""spacing"": ""None""
229238 },
230239 {
@@ -281,7 +290,7 @@ private static string GeneratePackageStructure(int index)
281290 ],
282291 ""verticalContentAlignment"": ""Center"",
283292 ""spacing"": ""None"",
284- ""minHeight"": ""36px "",
293+ ""minHeight"": ""34px "",
285294 ""spacing"": ""None""
286295 }
287296 ],
@@ -358,7 +367,6 @@ private static string GetUpdatesListTemplate(int numOfPackages)
358367 basestr += @"],
359368 ""spacing"": ""None"",
360369 ""showGridLines"": false,
361- ""height"": ""stretch"",
362370 ""verticalCellContentAlignment"": ""Top""
363371 },
364372 {
@@ -594,7 +602,8 @@ public static string GetData_UpdatesInCourse()
594602 }
595603 ],
596604 ""horizontalAlignment"": ""Center"",
597- ""$when"": ""${$host.widgetSize!=\""small\""}""
605+ ""$when"": ""${$host.widgetSize!=\""small\""}"",
606+ ""size"": ""Medium""
598607 }
599608 ],
600609 ""verticalContentAlignment"": ""Center"",
0 commit comments