Bläddra i källkod

Tighten medium dashboard heights for Forms, Sheets, and Slides.

Align these dashboard widget sizes with the Docs medium layout so content fills the card consistently with reduced empty vertical space.

Made-with: Cursor
huzaifahayat12 3 månader sedan
förälder
incheckning
0936ba41dc
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      google_apps/Widgets/WidgetTemplates.swift

+ 6 - 6
google_apps/Widgets/WidgetTemplates.swift

@@ -641,13 +641,13 @@ extension WidgetLayoutMode {
             case .picksHub: return CGSize(width: 440, height: 520)
             }
         case .forms(.dashboard):
-            return CGSize(width: 440, height: 300)
+            return CGSize(width: 440, height: 220)
         case .docs(.dashboard):
             return CGSize(width: 440, height: 220)
         case .sheets(.dashboard):
-            return CGSize(width: 440, height: 300)
+            return CGSize(width: 440, height: 220)
         case .slides(.dashboard):
-            return CGSize(width: 440, height: 300)
+            return CGSize(width: 440, height: 220)
         case .googlePlay(.searchBar):
             return CGSize(width: 400, height: 168)
         case .gemini(.assistant):
@@ -712,13 +712,13 @@ extension WidgetLayoutMode {
             case .picksHub: return CGSize(width: 380, height: 480)
             }
         case .forms(.dashboard):
-            return CGSize(width: 380, height: 280)
+            return CGSize(width: 380, height: 206)
         case .docs(.dashboard):
             return CGSize(width: 380, height: 206)
         case .sheets(.dashboard):
-            return CGSize(width: 380, height: 280)
+            return CGSize(width: 380, height: 206)
         case .slides(.dashboard):
-            return CGSize(width: 380, height: 280)
+            return CGSize(width: 380, height: 206)
         case .googlePlay(.searchBar):
             return CGSize(width: 360, height: 158)
         case .gemini(.assistant):