var layout = new DynamicLayout(); layout.BeginVertical(); layout.Add(new Label("Enter your name:")); layout.Add(new TextBox()); layout.CreateAndAddEmptySpace(10); layout.Add(new Button("Submit")); layout.EndVertical();
var layout = new DynamicLayout(); layout.BeginVertical(); layout.Add(new Label("Please select a file:")); layout.Add(new FilePicker()); layout.CreateAndAddEmptySpace(20); layout.Add(new Button("Upload")); layout.EndVertical();In this example, an empty space of 20 pixels is added between the FilePicker and the Upload button. The DynamicLayout library is part of the Eto.Forms package.