Fix update error details dialog overflow (#2359)
This commit is contained in:
parent
ae59e571a8
commit
6a39bac0e1
1 changed files with 9 additions and 5 deletions
|
|
@ -469,11 +469,15 @@ fileprivate struct UpdateErrorView: View {
|
|||
VStack(alignment: .leading, spacing: 6) {
|
||||
Text(String(localized: "update.popover.details", defaultValue: "Details"))
|
||||
.font(.system(size: 11, weight: .semibold))
|
||||
Text(details)
|
||||
.font(.system(size: 10, design: .monospaced))
|
||||
.foregroundColor(.secondary)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.textSelection(.enabled)
|
||||
ScrollView(.vertical) {
|
||||
Text(details)
|
||||
.font(.system(size: 10, design: .monospaced))
|
||||
.foregroundColor(.secondary)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.textSelection(.enabled)
|
||||
}
|
||||
.frame(maxHeight: 300)
|
||||
}
|
||||
|
||||
HStack(spacing: 8) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue