Skip to content

Commit

Permalink
fix: 修改样式
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyyb committed Jun 29, 2022
1 parent 640e669 commit ee02a2d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Fire/Preferences/PunctutionPane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct PunctutionPane: View {
}
VStack(alignment: .leading) {
Text("自定义符号")
Spacer(minLength: 10)
Spacer(minLength: 4)
VStack {
HStack {
Text("按键")
Expand All @@ -47,19 +47,21 @@ struct PunctutionPane: View {
customPunctutionSettings[key] = $0
}
)) {
Text(key).tag(key)
Text(punctution[key]!).tag(punctution[key]!)
Text(key)
.tag(key)
Text(punctution[key]!)
.tag(punctution[key]!)
}
.frame(width: 200, alignment: .center)
})
}
.padding(EdgeInsets(top: 10, leading: 20, bottom: 10, trailing: 20))
.padding(EdgeInsets(top: 6, leading: 20, bottom: 10, trailing: 20))
}
.frame(maxHeight: 300)
}
.padding(.top, 4)
.background(Color(.sRGB, red: 0.4, green: 0.4, blue: 0.4, opacity: 0.2))
}
.padding(.top, 10)
.disabled(punctutionMode != .custom)
}
}
Expand Down

0 comments on commit ee02a2d

Please sign in to comment.