|
43 | 43 | <controls:Card Padding="12"> |
44 | 44 | <StackPanel Spacing="0"> |
45 | 45 | <!-- Model Row --> |
46 | | - <Grid ColumnDefinitions="60,*,Auto"> |
| 46 | + <Grid ColumnDefinitions="70,*,Auto"> |
47 | 47 | <TextBlock |
48 | 48 | Grid.Column="0" |
49 | 49 | VerticalAlignment="Center" |
|
114 | 114 | <!-- Refiner (below Model, when enabled) --> |
115 | 115 | <Grid |
116 | 116 | Margin="0,8,0,0" |
117 | | - ColumnDefinitions="60,*,Auto" |
| 117 | + ColumnDefinitions="70,*,Auto" |
118 | 118 | IsVisible="{Binding IsRefinerSelectionEnabled}"> |
119 | 119 | <TextBlock |
120 | 120 | Grid.Column="0" |
|
138 | 138 | </Button> |
139 | 139 | </Grid> |
140 | 140 |
|
| 141 | + <!-- Workflow Profile --> |
| 142 | + <Grid Margin="0,8,0,0" ColumnDefinitions="70,*,Auto"> |
| 143 | + <TextBlock |
| 144 | + Grid.Column="0" |
| 145 | + VerticalAlignment="Center" |
| 146 | + Text="Workflow" |
| 147 | + TextAlignment="Left" /> |
| 148 | + <controls:BetterComboBox |
| 149 | + Grid.Column="1" |
| 150 | + Padding="8,6,4,6" |
| 151 | + HorizontalAlignment="Stretch" |
| 152 | + ItemsSource="{Binding WorkflowProfiles}" |
| 153 | + SelectedItem="{Binding SelectedWorkflowProfile}"> |
| 154 | + <controls:BetterComboBox.Resources> |
| 155 | + <converters:EnumStringConverter x:Key="EnumStringConverter" /> |
| 156 | + </controls:BetterComboBox.Resources> |
| 157 | + <controls:BetterComboBox.ItemTemplate> |
| 158 | + <DataTemplate> |
| 159 | + <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
| 160 | + </DataTemplate> |
| 161 | + </controls:BetterComboBox.ItemTemplate> |
| 162 | + <controls:BetterComboBox.SelectionBoxItemTemplate> |
| 163 | + <DataTemplate> |
| 164 | + <TextBlock Text="{Binding ., Converter={StaticResource EnumStringConverter}}" /> |
| 165 | + </DataTemplate> |
| 166 | + </controls:BetterComboBox.SelectionBoxItemTemplate> |
| 167 | + </controls:BetterComboBox> |
| 168 | + <Button |
| 169 | + Grid.Column="2" |
| 170 | + Margin="4,0,0,0" |
| 171 | + VerticalAlignment="Stretch" |
| 172 | + Command="{Binding ApplyRecommendedDefaultsCommand}" |
| 173 | + IsEnabled="{Binding HasRecommendedDefaults}" |
| 174 | + ToolTip.Tip="{Binding RecommendedDefaultsToolTip}"> |
| 175 | + <fluent:SymbolIcon FontSize="16" Symbol="Sparkle" /> |
| 176 | + </Button> |
| 177 | + </Grid> |
| 178 | + <TextBlock |
| 179 | + Margin="90,4,0,0" |
| 180 | + FontSize="11" |
| 181 | + Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 182 | + IsVisible="{Binding ShowWorkflowProfileStatus}" |
| 183 | + Text="{Binding WorkflowProfileStatusText}" /> |
| 184 | + |
141 | 185 | <!-- Advanced Options Expander (Precision, VAE, CLIP Skip) --> |
142 | 186 | <Expander |
143 | 187 | Margin="0,8,0,0" |
|
240 | 284 | </Expander.Header> |
241 | 285 | <StackPanel Margin="0,4,0,0" Spacing="8"> |
242 | 286 | <!-- Encoder Type --> |
243 | | - <Grid ColumnDefinitions="90,*"> |
| 287 | + <Grid ColumnDefinitions="90,*" IsVisible="{Binding ShowEncoderTypeSelection}"> |
244 | 288 | <TextBlock |
245 | 289 | Grid.Column="0" |
246 | 290 | VerticalAlignment="Center" |
|
0 commit comments