ui: make General tab scrollable
parent
40a6574b95
commit
9ee7a14685
|
|
@ -10,7 +10,8 @@ struct GeneralSettings: View {
|
|||
@State private var cliInstallLocation: String?
|
||||
@State private var remoteStatus: RemoteStatus = .idle
|
||||
|
||||
var body: some View {
|
||||
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() }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue