Selaa lähdekoodia

Refine Chrome Remote Desktop widget layouts and sizing.

Switch the small widget to a labeled one-column grid for readable actions and move the secondary remote widget to medium size to reduce excess empty space while keeping all shortcuts intact.

Made-with: Cursor
huzaifahayat12 3 kuukautta sitten
vanhempi
sitoutus
6ffc44ee61
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      google_apps/Widgets/WidgetTemplates.swift

+ 2 - 2
google_apps/Widgets/WidgetTemplates.swift

@@ -463,12 +463,12 @@ enum WidgetTemplates {
             ]
         case .remoteDesktop:
             return [
-                v("remote_small", "Remote", .small, false, .actionsRow, [
+                v("remote_small", "Remote", .small, true, .actionsGrid(columns: 1), [
                     a("access", "Remote access", "desktopcomputer", "/access"),
                     a("support", "Support", "person.crop.circle", "/support"),
                     a("downloads", "Downloads", "arrow.down.circle", "/"),
                 ]),
-                v("remote_large", "Remote Desktop", .large, true, .actionsGrid(columns: 2), [
+                v("remote_large", "Remote Desktop", .medium, true, .actionsGrid(columns: 2), [
                     a("access", "Remote access", "desktopcomputer", "/access"),
                     a("support", "Support", "person.crop.circle", "/support"),
                     a("downloads", "Downloads", "arrow.down.circle", "/"),