package main
import (
"nuxui.org/nuxui/nux"
_ "nuxui.org/nuxui/ui"
)
func main() {
nux.Run(nux.NewWindow(nux.Attr{
"width": "15%", // screen_width x 15%
"height": "2:1", // width : height = 2 : 1
"title": "hello",
"content": nux.Attr{
"type": "nuxui.org/nuxui/ui.Text",
"text": `Hello nuxui`,
},
}))
}
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.