Page MenuHomePhabricator

No OneTemporary

diff --git a/test/test.go b/test/test.go
index 898dd87..a2ca73f 100644
--- a/test/test.go
+++ b/test/test.go
@@ -1,40 +1,40 @@
package main
import (
"github.com/lxn/walk"
. "github.com/lxn/walk/declarative"
"strings"
)
func main() {
var inTE, outTE *walk.TextEdit
MainWindow{
Title: "Login",
MinSize: Size{350, 200},
Layout: VBox{},
Children: []Widget{
HSplitter{
Children: []Widget{
//TextEdit{AssignTo: &inTE},
//TextEdit{AssignTo: &outTE, ReadOnly: true},
//TextEdit{AssignTo: &inTE, ReadOnly: false},
//TextEdit{AssignTo: &inTE},
- Label{ Text: "User"},
+ Label{ Text: "Username"},
},
},
PushButton{
Text: "Cancel",
OnClicked: func() {
outTE.SetText(strings.ToUpper(inTE.Text()))
},
},
PushButton{
Text: "Login",
OnClicked: func() {
outTE.SetText(strings.ToUpper(inTE.Text()))
},
},
},
}.Run()
}

File Metadata

Mime Type
text/x-diff
Expires
Thu, Jan 23, 9:40 PM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14939
Default Alt Text
(953 B)

Event Timeline