Skip to content

Commit

Permalink
Adjust SettingsAlertView layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Sep 29, 2024
1 parent 04de660 commit 9dfef1f
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/apps/SettingsWindow/src/View/SettingsAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ struct SettingsAlertView: View {
if settingsChecker.keyboardTypeEmpty {
VStack(alignment: .leading, spacing: 20.0) {
Label(
"Please select the keyboard type",
"Please select the keyboard type you'd like to use",
systemImage: "gearshape"
)
.font(.system(size: 24))

GroupBox(label: Text("")) {
VStack(alignment: .leading, spacing: 6.0) {
KeyboardTypeSelectorView()
}
.padding(20.0)
Text(
"The keyboard type selected here will be used in Karabiner-Elements, regardless of the physical keyboard you're using."
)

VStack {
KeyboardTypeSelectorView()
}
.padding(20.0)
.foregroundColor(Color.infoForeground)
.background(Color.infoBackground)
.cornerRadius(8)

Text(
"Note: You can change it later from the Virtual Keyboard settings."
)
}
}
}
Expand Down

0 comments on commit 9dfef1f

Please sign in to comment.