예제 #1
0
        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);
        }
예제 #2
0
 internal static void PackProgressLabel(HBox box, Label progressLabel)
 {
     box.HeightRequest = PROGRESS_PANEL_HEIGHT;
     AlignmentBuilder.SetLeftAlignment(progressLabel);
     Fill(box, progressLabel);
 }