Browse Source

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 tháng trước cách đây
mục cha
commit
0936ba41dc
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  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):