stackotter/swift-cross-ui

[GtkBackend] Center root view in Window (this is what SwiftUI does)

stackotter opened this issue · 1 comments

If you run CounterExample you'll see that the window content is in the top left corner of the window (if you resize the window to make it bigger), whereas it's preferable that it would be centred inside the window to align with SwiftUI's behaviour (pun intended).