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); }