ui: make General tab scrollable

main
Peter Steinberger 2025-12-07 23:06:10 +01:00
parent 40a6574b95
commit 9ee7a14685
1 changed files with 62 additions and 60 deletions

View File

@ -11,6 +11,7 @@ struct GeneralSettings: View {
@State private var remoteStatus: RemoteStatus = .idle
var body: some View {
ScrollView(.vertical) {
VStack(alignment: .leading, spacing: 18) {
self.connectionSection
@ -71,7 +72,7 @@ struct GeneralSettings: View {
self.cliInstaller
}
Spacer()
Spacer(minLength: 12)
HStack {
Spacer()
Button("Quit Clawdis") { NSApp.terminate(nil) }
@ -81,6 +82,7 @@ struct GeneralSettings: View {
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.horizontal, 22)
.padding(.bottom, 16)
}
.onAppear { self.refreshCLIStatus() }
}