diff --git a/Homebrew/BrewApp.swift b/Homebrew/BrewApp.swift index 98290232..e74ecf62 100644 --- a/Homebrew/BrewApp.swift +++ b/Homebrew/BrewApp.swift @@ -95,8 +95,8 @@ struct BrewApp: App { ) } .defaultSize( - width: BrewLayout.minWindowWidth, - height: BrewLayout.minWindowHeight, + width: BrewLayout.defaultWindowWidth, + height: BrewLayout.defaultWindowHeight, ) .commands { SearchCommands() diff --git a/Sources/BrewUIComponents/Theme/BrewSpacing.swift b/Sources/BrewUIComponents/Theme/BrewSpacing.swift index 4b69bdcd..48080722 100644 --- a/Sources/BrewUIComponents/Theme/BrewSpacing.swift +++ b/Sources/BrewUIComponents/Theme/BrewSpacing.swift @@ -48,6 +48,12 @@ public enum BrewLayout { public static let installedDetailColumnMaxWidth: CGFloat = 1200 public static let installedThreePaneMinWindowWidth: CGFloat = 960 + /// Default window width. + public static let defaultWindowWidth: CGFloat = 1000 + + /// Default window height. + public static let defaultWindowHeight: CGFloat = 650 + /// Minimum supported window width. public static let minWindowWidth: CGFloat = 820