diff --git a/container/box.md b/container/box.md index 69e9db4..c0221be 100644 --- a/container/box.md +++ b/container/box.md @@ -48,12 +48,12 @@ func main() { myApp := app.New() myWindow := myApp.NewWindow("Box Layout") - text1 := canvas.NewText("Hello", color.White) - text2 := canvas.NewText("There", color.White) - text3 := canvas.NewText("(right)", color.White) + text1 := canvas.NewText("Hello", color.Black) + text2 := canvas.NewText("There", color.Black) + text3 := canvas.NewText("(right)", color.Black) content := container.New(layout.NewHBoxLayout(), text1, text2, layout.NewSpacer(), text3) - text4 := canvas.NewText("centered", color.White) + text4 := canvas.NewText("centered", color.Black) centered := container.New(layout.NewHBoxLayout(), layout.NewSpacer(), text4, layout.NewSpacer()) myWindow.SetContent(container.New(layout.NewVBoxLayout(), content, centered)) myWindow.ShowAndRun()