ENH: Fixed sizing of the main window. #1

Open
eroesch wants to merge 8 commits from eroesch/msg-desktop:main into main
Showing only changes of commit 2b61760d94 - Show all commits

View file

@ -41,6 +41,10 @@ struct ContentView: View {
self.imageHeight = height
}
ZStack {
Color.black
.ignoresSafeArea()
// ScrollView fills remaining height
ScrollViewReader { proxy in
ScrollView {
@ -51,6 +55,7 @@ struct ContentView: View {
Text(lines[index])
.font(.system(.body, design: .monospaced))
.frame(maxWidth: .infinity, alignment: .leading)
}
Color.clear.frame(height: 1).id("bottom")
@ -86,6 +91,7 @@ struct ContentView: View {
// }
// }
}
}
// Buttons
HStack {