|
26 | 26 | </StackPanel>
|
27 | 27 | </TabItem.Header>
|
28 | 28 | <StackPanel Margin="2">
|
29 |
| - <StackPanel> |
30 |
| - <Label>Scheduler</Label> |
31 |
| - <ComboBox ItemsSource="{Binding SchedulerTypes}" SelectedItem="{Binding SchedulerOptions.SchedulerType}"/> |
32 |
| - </StackPanel> |
33 |
| - <UniformGrid Columns="4" Margin="0,2,0,0"> |
34 |
| - <StackPanel> |
35 |
| - <Label>Seed</Label> |
36 |
| - <TextBox Text="{Binding SchedulerOptions.Seed}"/> |
37 |
| - </StackPanel> |
38 |
| - <StackPanel VerticalAlignment="Bottom" HorizontalAlignment="Left"> |
39 |
| - <Button Command="{Binding RandomSeedCommand}" Height="22" Width="22" BorderThickness="0,1,1,1"> |
40 |
| - <userControls:FontAwesome Icon="" IconStyle="Light"/> |
41 |
| - </Button> |
42 |
| - </StackPanel> |
43 |
| - <StackPanel Margin="1,0,1,0"> |
44 |
| - <Label>Width</Label> |
45 |
| - <ComboBox ItemsSource="{Binding ValidSizes}" SelectedItem="{Binding SchedulerOptions.Width}" /> |
| 29 | + <UniformGrid Columns="2"> |
| 30 | + <StackPanel Margin="0,0,5,0"> |
| 31 | + <Label>Scheduler</Label> |
| 32 | + <ComboBox ItemsSource="{Binding SchedulerTypes}" SelectedItem="{Binding SchedulerOptions.SchedulerType}"/> |
46 | 33 | </StackPanel>
|
47 |
| - <StackPanel> |
48 |
| - <Label>Height</Label> |
49 |
| - <ComboBox ItemsSource="{Binding ValidSizes}" SelectedItem="{Binding SchedulerOptions.Height}" /> |
| 34 | + |
| 35 | + <StackPanel Orientation="Horizontal" Margin="0,9,0,0"> |
| 36 | + <StackPanel Orientation="Horizontal" Margin="5,8,0,0"> |
| 37 | + <Ellipse Fill="Red" Width="15" Height="15" > |
| 38 | + <Ellipse.Triggers> |
| 39 | + <EventTrigger RoutedEvent="Ellipse.Loaded"> |
| 40 | + <EventTrigger.Actions> |
| 41 | + <BeginStoryboard> |
| 42 | + <Storyboard> |
| 43 | + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Ellipse.Opacity)" |
| 44 | + Duration="0:0:6" |
| 45 | + FillBehavior="Stop" |
| 46 | + RepeatBehavior="Forever" |
| 47 | + AutoReverse="False"> |
| 48 | + <DoubleAnimationUsingKeyFrames.KeyFrames> |
| 49 | + <EasingDoubleKeyFrame KeyTime="0:0:0" Value=".5"/> |
| 50 | + <EasingDoubleKeyFrame KeyTime="0:0:3" Value=".8"/> |
| 51 | + <EasingDoubleKeyFrame KeyTime="0:0:6" Value=".5"/> |
| 52 | + </DoubleAnimationUsingKeyFrames.KeyFrames> |
| 53 | + </DoubleAnimationUsingKeyFrames> |
| 54 | + </Storyboard> |
| 55 | + </BeginStoryboard> |
| 56 | + </EventTrigger.Actions> |
| 57 | + </EventTrigger> |
| 58 | + </Ellipse.Triggers> |
| 59 | + </Ellipse> |
| 60 | + <StackPanel.Style> |
| 61 | + <Style TargetType="{x:Type StackPanel}"> |
| 62 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 63 | + <Style.Triggers> |
| 64 | + <MultiDataTrigger> |
| 65 | + <MultiDataTrigger.Conditions> |
| 66 | + <Condition Binding="{Binding BatchOptions.IsRealtimeEnabled}" Value="True" /> |
| 67 | + </MultiDataTrigger.Conditions> |
| 68 | + <MultiDataTrigger.Setters> |
| 69 | + <Setter Property="Visibility" Value="Visible" /> |
| 70 | + </MultiDataTrigger.Setters> |
| 71 | + </MultiDataTrigger> |
| 72 | + </Style.Triggers> |
| 73 | + </Style> |
| 74 | + </StackPanel.Style> |
| 75 | + |
| 76 | + </StackPanel> |
| 77 | + |
| 78 | + <StackPanel Orientation="Horizontal" Margin="5,8,0,0"> |
| 79 | + <Ellipse Fill="{StaticResource ControlDisabledBorderBrush}" Width="15" Height="15" /> |
| 80 | + |
| 81 | + <StackPanel.Style> |
| 82 | + <Style TargetType="{x:Type StackPanel}"> |
| 83 | + <Setter Property="Visibility" Value="Visible" /> |
| 84 | + <Style.Triggers> |
| 85 | + <MultiDataTrigger> |
| 86 | + <MultiDataTrigger.Conditions> |
| 87 | + <Condition Binding="{Binding BatchOptions.IsRealtimeEnabled}" Value="True" /> |
| 88 | + </MultiDataTrigger.Conditions> |
| 89 | + <MultiDataTrigger.Setters> |
| 90 | + <Setter Property="Visibility" Value="Collapsed" /> |
| 91 | + </MultiDataTrigger.Setters> |
| 92 | + </MultiDataTrigger> |
| 93 | + </Style.Triggers> |
| 94 | + </Style> |
| 95 | + </StackPanel.Style> |
| 96 | + </StackPanel> |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + <CheckBox IsChecked="{Binding BatchOptions.IsRealtimeEnabled}" IsEnabled="{Binding BatchOptions.IsAutomationEnabled, Converter={StaticResource InverseBoolConverter}}" Content="Enable Live Update" Margin="4,12,0,0" /> |
50 | 102 | </StackPanel>
|
| 103 | + |
| 104 | + |
| 105 | + </UniformGrid> |
| 106 | + |
| 107 | + |
| 108 | + <UniformGrid Columns="2" > |
| 109 | + <DockPanel Margin="0,0,5,0"> |
| 110 | + <UniformGrid DockPanel.Dock="Right" Columns="2" VerticalAlignment="Bottom" > |
| 111 | + <Button Command="{Binding NewSeedCommand}" BorderThickness="0,1,1,1" ToolTip="New Seed" Width="25"> |
| 112 | + <userControls:FontAwesome Icon="" IconStyle="Light" Size="15"/> |
| 113 | + </Button> |
| 114 | + <Button Command="{Binding RandomSeedCommand}" BorderThickness="0,1,1,1" ToolTip="Random Seeds"> |
| 115 | + <userControls:FontAwesome Icon="" IconStyle="Light"/> |
| 116 | + </Button> |
| 117 | + </UniformGrid> |
| 118 | + |
| 119 | + <StackPanel> |
| 120 | + <Label>Seed</Label> |
| 121 | + <TextBox Text="{Binding SchedulerOptions.Seed}"/> |
| 122 | + </StackPanel> |
| 123 | + |
| 124 | + </DockPanel> |
| 125 | + |
| 126 | + <UniformGrid Columns="2" Margin="5,0,0,0"> |
| 127 | + <StackPanel Margin="1,0,1,0"> |
| 128 | + <Label>Width</Label> |
| 129 | + <ComboBox ItemsSource="{Binding ValidSizes}" SelectedItem="{Binding SchedulerOptions.Width}" /> |
| 130 | + </StackPanel> |
| 131 | + <StackPanel> |
| 132 | + <Label>Height</Label> |
| 133 | + <ComboBox ItemsSource="{Binding ValidSizes}" SelectedItem="{Binding SchedulerOptions.Height}" /> |
| 134 | + </StackPanel> |
| 135 | + </UniformGrid> |
| 136 | + |
51 | 137 | </UniformGrid>
|
52 | 138 |
|
53 |
| - <UniformGrid Columns="2" Margin="0,10,0,0"> |
| 139 | + <UniformGrid Columns="2" Margin="0,5,0,0"> |
54 | 140 | <StackPanel Margin="0,0,5,0">
|
55 | 141 | <DockPanel >
|
56 | 142 | <Label>Inference Steps</Label>
|
|
75 | 161 | </StackPanel>
|
76 | 162 | </UniformGrid>
|
77 | 163 |
|
78 |
| - <UniformGrid Columns="2" Margin="0,10,0,0"> |
| 164 | + <UniformGrid Columns="2" Margin="0,5,0,0"> |
79 | 165 |
|
80 | 166 |
|
81 | 167 | <StackPanel Margin="0,0,5,0">
|
|
165 | 251 | </UniformGrid>
|
166 | 252 |
|
167 | 253 | <UniformGrid>
|
168 |
| - <Button Command="{Binding ResetParametersCommand}" Margin="0,5,0,0" HorizontalAlignment="Left"> |
169 |
| - <userControls:FontAwesome Icon="" IconStyle="Light" Size="14" Margin="2"/> |
170 |
| - </Button> |
171 |
| - <CheckBox IsChecked="{Binding BatchOptions.IsRealtimeEnabled}" IsEnabled="{Binding BatchOptions.IsAutomationEnabled, Converter={StaticResource InverseBoolConverter}}" Content="Enable Live Update" HorizontalAlignment="Right" VerticalAlignment="Bottom" /> |
| 254 | + |
172 | 255 | </UniformGrid>
|
173 | 256 | </StackPanel>
|
174 | 257 | </TabItem>
|
|
184 | 267 | <StackPanel Margin="2">
|
185 | 268 |
|
186 | 269 | <UniformGrid Columns="2" Margin="0,10, 0, 0">
|
187 |
| - |
188 |
| - |
| 270 | + |
| 271 | + |
189 | 272 | </UniformGrid>
|
190 | 273 |
|
191 | 274 | <UniformGrid Columns="3">
|
|
219 | 302 | </UniformGrid>
|
220 | 303 |
|
221 | 304 | <UniformGrid Columns="3">
|
222 |
| - |
| 305 | + |
223 | 306 | <StackPanel>
|
224 | 307 | <Label>BetaStart</Label>
|
225 | 308 | <TextBox Text="{Binding SchedulerOptions.BetaStart}"/>
|
|
235 | 318 | </UniformGrid>
|
236 | 319 |
|
237 | 320 | <UniformGrid Columns="3">
|
238 |
| - |
| 321 | + |
239 | 322 | <StackPanel Margin="1,0,1,0">
|
240 | 323 | <Label>ClipSampleRange</Label>
|
241 | 324 | <TextBox Text="{Binding SchedulerOptions.ClipSampleRange}"/>
|
|
417 | 500 | </StackPanel.Style>
|
418 | 501 | </StackPanel>
|
419 | 502 |
|
420 |
| - |
| 503 | + |
421 | 504 | </StackPanel>
|
422 | 505 | </StackPanel>
|
423 | 506 | </StackPanel>
|
|
0 commit comments