mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Tweak layout of Mode setting
This commit is contained in:
parent
0890b8378f
commit
ccc108fb64
@ -132,7 +132,7 @@ private struct ModeListView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(4)
|
||||
.padding(EdgeInsets(top: 4, leading: 2, bottom: 4, trailing: 2))
|
||||
.menuIndicator(.hidden)
|
||||
.alert(error: $error)
|
||||
|
||||
@ -150,7 +150,7 @@ private struct ModeListView: View {
|
||||
.frame(width: 14, height: 14)
|
||||
.fontWeight(.medium)
|
||||
}
|
||||
.padding(4)
|
||||
.padding(EdgeInsets(top: 4, leading: 2, bottom: 4, trailing: 2))
|
||||
.disabled(self.selection.syntaxName == nil)
|
||||
}
|
||||
.padding(2)
|
||||
|
Loading…
Reference in New Issue
Block a user