|
111 | 111 | </StackPanel> |
112 | 112 | </Grid> |
113 | 113 |
|
| 114 | + <!-- Workflow Profile --> |
| 115 | + <Grid Margin="0,8,0,0" ColumnDefinitions="60,*,Auto"> |
| 116 | + <TextBlock |
| 117 | + Grid.Column="0" |
| 118 | + VerticalAlignment="Center" |
| 119 | + Text="Workflow" |
| 120 | + TextAlignment="Left" /> |
| 121 | + <controls:BetterComboBox |
| 122 | + Grid.Column="1" |
| 123 | + Padding="8,6,4,6" |
| 124 | + HorizontalAlignment="Stretch" |
| 125 | + ItemsSource="{Binding WorkflowProfiles}" |
| 126 | + SelectedItem="{Binding SelectedWorkflowProfile}"> |
| 127 | + <controls:BetterComboBox.Resources> |
| 128 | + <converters:EnumStringConverter x:Key="EnumStringConverter" /> |
| 129 | + </controls:BetterComboBox.Resources> |
| 130 | + <controls:BetterComboBox.ItemTemplate> |
| 131 | + <DataTemplate> |
| 132 | + <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
| 133 | + </DataTemplate> |
| 134 | + </controls:BetterComboBox.ItemTemplate> |
| 135 | + <controls:BetterComboBox.SelectionBoxItemTemplate> |
| 136 | + <DataTemplate> |
| 137 | + <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
| 138 | + </DataTemplate> |
| 139 | + </controls:BetterComboBox.SelectionBoxItemTemplate> |
| 140 | + </controls:BetterComboBox> |
| 141 | + <Button |
| 142 | + Grid.Column="2" |
| 143 | + Margin="4,0,0,0" |
| 144 | + VerticalAlignment="Stretch" |
| 145 | + Command="{Binding ApplyRecommendedDefaultsCommand}" |
| 146 | + IsEnabled="{Binding HasRecommendedDefaults}" |
| 147 | + ToolTip.Tip="Apply recommended sampler defaults"> |
| 148 | + <fluent:SymbolIcon FontSize="16" Symbol="Sparkle" /> |
| 149 | + </Button> |
| 150 | + </Grid> |
| 151 | + |
114 | 152 | <!-- Refiner (below Model, when enabled) --> |
115 | 153 | <Grid |
116 | 154 | Margin="0,8,0,0" |
|
239 | 277 | </Grid> |
240 | 278 | </Expander.Header> |
241 | 279 | <StackPanel Margin="0,4,0,0" Spacing="8"> |
242 | | - <!-- Workflow Profile --> |
243 | | - <Grid ColumnDefinitions="90,*,Auto"> |
244 | | - <TextBlock |
245 | | - Grid.Column="0" |
246 | | - VerticalAlignment="Center" |
247 | | - Text="Workflow" |
248 | | - TextAlignment="Left" /> |
249 | | - <controls:BetterComboBox |
250 | | - Grid.Column="1" |
251 | | - Padding="8,6,4,6" |
252 | | - HorizontalAlignment="Stretch" |
253 | | - ItemsSource="{Binding WorkflowProfiles}" |
254 | | - SelectedItem="{Binding SelectedWorkflowProfile}"> |
255 | | - <controls:BetterComboBox.Resources> |
256 | | - <converters:EnumStringConverter x:Key="EnumStringConverter" /> |
257 | | - </controls:BetterComboBox.Resources> |
258 | | - <controls:BetterComboBox.ItemTemplate> |
259 | | - <DataTemplate> |
260 | | - <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
261 | | - </DataTemplate> |
262 | | - </controls:BetterComboBox.ItemTemplate> |
263 | | - <controls:BetterComboBox.SelectionBoxItemTemplate> |
264 | | - <DataTemplate> |
265 | | - <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
266 | | - </DataTemplate> |
267 | | - </controls:BetterComboBox.SelectionBoxItemTemplate> |
268 | | - </controls:BetterComboBox> |
269 | | - <Button |
270 | | - Grid.Column="2" |
271 | | - Margin="4,0,0,0" |
272 | | - VerticalAlignment="Stretch" |
273 | | - Command="{Binding ApplyRecommendedDefaultsCommand}" |
274 | | - IsEnabled="{Binding HasRecommendedDefaults}" |
275 | | - ToolTip.Tip="Apply recommended sampler defaults"> |
276 | | - <fluent:SymbolIcon FontSize="16" Symbol="Sparkle" /> |
277 | | - </Button> |
278 | | - </Grid> |
279 | | - |
280 | 280 | <!-- Encoder Type --> |
281 | 281 | <Grid ColumnDefinitions="90,*" IsVisible="{Binding ShowEncoderTypeSelection}"> |
282 | 282 | <TextBlock |
|
0 commit comments