app: use scale independent values for default window size

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-05-16 16:06:40 +02:00
parent d5fc7fc8f6
commit 351ede917c
+1 -1
View File
@@ -88,7 +88,7 @@ var ackEvent event.Event
func NewWindow(options ...Option) *Window {
opts := new(wm.Options)
// Default options.
Size(unit.Px(800), unit.Px(600))(opts)
Size(unit.Dp(800), unit.Dp(600))(opts)
Title("Gio")(opts)
for _, o := range options {