private void RreloadControlsWidget() { GuiWidget manualPrinterControls = new ManualControlsWidget(); manualControlsPage.RemoveAllChildren(); manualControlsPage.AddChild(manualPrinterControls); }
private void ReloadSliceSettingsWidget() { sliceTabPage.RemoveAllChildren(); sliceSettingsWidget = new SliceSettingsWidget(); sliceSettingsWidget.AnchorAll(); sliceTabPage.AddChild(sliceSettingsWidget); }
void reloadSliceSettingsWidget() { //Store the UI state from the current display sliceSettingsUiState = new SliceSettingsWidgetUiState(sliceSettingsWidget); sliceTabPage.RemoveAllChildren(); sliceSettingsWidget = new SliceSettingsWidget(sliceSettingsUiState); sliceSettingsWidget.AnchorAll(); sliceTabPage.AddChild(sliceSettingsWidget); }
void reloadControlsWidget() { GuiWidget manualPrinterControls = new ManualPrinterControls(); //ScrollableWidget manualPrinterControlsWidget = new ScrollableWidget(true); //manualPrinterControlsWidget.ScrollArea.HAnchor |= Agg.UI.HAnchor.ParentLeftRight; //manualPrinterControlsWidget.AnchorAll(); //manualPrinterControlsWidget.AddChild(manualPrinterControls); manualControlsPage.RemoveAllChildren(); manualControlsPage.AddChild(manualPrinterControls); }
private void ReloadAdvancedControls() { // ReloadControlsWidget manualControlsPage.RemoveAllChildren(); manualControlsPage.AddChild(new ManualControlsWidget()); // ReloadConfigurationWidget optionsPage.RemoveAllChildren(); optionsPage.AddChild(new PrinterConfigurationScrollWidget()); // ReloadSliceSettingsWidget sliceTabPage.RemoveAllChildren(); sliceTabPage.AddChild(new SliceSettingsWidget() { HAnchor = HAnchor.ParentLeftRight, VAnchor = VAnchor.ParentBottomTop }); this.Invalidate(); }
void reloadConfigurationWidget() { configurationPage.RemoveAllChildren(); configurationPage.AddChild(new PrinterConfigurationScrollWidget()); }
private void ReloadConfigurationWidget() { optionsPage.RemoveAllChildren(); optionsPage.AddChild(new PrinterConfigurationScrollWidget()); }