Skip to content

Instantly share code, notes, and snippets.

@mvidner
Created February 26, 2014 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvidner/9226667 to your computer and use it in GitHub Desktop.
Save mvidner/9226667 to your computer and use it in GitHub Desktop.
replicate some C++ layout http://pastebin.com/7qJM2KN7 with YCP
// 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