Skip to content

Commit be9cf35

Browse files
committed
About
Signed-off-by: jiaxianhua <jiaxianhua@gmail.com>
1 parent 4db9679 commit be9cf35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Hash/HashApp.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct HashApp: App {
3434

3535
private func showAboutWindow() {
3636
let aboutWindow = NSWindow(
37-
contentRect: NSRect(x: 0, y: 0, width: 400, height: 300),
37+
contentRect: NSRect(x: 0, y: 0, width: 400, height: 400),
3838
styleMask: [.titled, .closable],
3939
backing: .buffered,
4040
defer: false
@@ -51,6 +51,7 @@ struct HashApp: App {
5151

5252
struct AboutView: View {
5353
var body: some View {
54+
Spacer(minLength: 20)
5455
VStack(spacing: 20) {
5556
// App Icon
5657
Image(systemName: "number.square")
@@ -104,5 +105,6 @@ struct AboutView: View {
104105
}
105106
.padding()
106107
.frame(width: 400, height: 300)
108+
Spacer()
107109
}
108110
}

0 commit comments

Comments
 (0)