forked from go/golangs_learn
VIVIMAN
2 years ago
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||
|
package main |
||||
|
|
||||
|
import ( |
||||
|
_ "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`, |
||||
|
}, |
||||
|
}))*/ |
||||
|
|
||||
|
} |
Loading…
Reference in new issue