internal static void PackActionButtons(HBox box, uint padding, params Widget[] buttons) { HBox buttonsBox = new HBox(); Add(buttonsBox, buttons[0]); for (int i = 1; i < buttons.Length; i++) { Add(buttonsBox, AlignmentBuilder.LeftPadding(buttons[i], padding)); } Fill(box, ControlBuilder.CreateEmptyArea()); Add(box, buttonsBox); }
internal static void PackProgressLabel(HBox box, Label progressLabel) { box.HeightRequest = PROGRESS_PANEL_HEIGHT; AlignmentBuilder.SetLeftAlignment(progressLabel); Fill(box, progressLabel); }