Created
February 26, 2014 09:42
-
-
Save mvidner/9226667 to your computer and use it in GitHub Desktop.
replicate some C++ layout http://pastebin.com/7qJM2KN7 with YCP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replicate some C++ layout http://pastebin.com/7qJM2KN7 | |
// with YCP | |
{ | |
UI::OpenDialog( | |
`VBox( | |
`HBox( | |
`HWeight(2, | |
`Frame( | |
"F1", | |
`HBox( | |
`Label("L1"), | |
`InputField("I1") | |
) | |
) | |
), | |
`HWeight(4, | |
`Frame( | |
"F2", | |
`HBox( | |
`Label("L2"), | |
`InputField("I2") | |
) | |
) | |
), | |
`PushButton("Submit") | |
), | |
`PushButton("OK") | |
) | |
); | |
UI::UserInput(); | |
UI::CloseDialog(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment