|
13 | 13 | Background="Transparent" |
14 | 14 | ShowInTaskbar="False" |
15 | 15 | ResizeMode="NoResize" |
16 | | - Width="600" |
17 | 16 | Height="45" |
18 | 17 | PreviewKeyDown="OnAutoCompleteKeyDown" |
19 | 18 | > |
20 | 19 | <Window.Style> |
21 | 20 | <Style TargetType="Window"> |
| 21 | + <Setter Property="Width" Value="620" /> |
22 | 22 | <Style.Triggers> |
23 | 23 | <DataTrigger Binding="{Binding IsDNAClusterPlacementEnabled}" Value="False"> |
24 | | - <Setter Property="Width" Value="500"/> |
| 24 | + <Setter Property="Width" Value="510"/> |
25 | 25 | </DataTrigger> |
26 | 26 | </Style.Triggers> |
27 | 27 | </Style> |
|
83 | 83 | <ColumnDefinition Width="Auto" /> |
84 | 84 | <ColumnDefinition Width="Auto" /> |
85 | 85 | <ColumnDefinition Width="Auto" /> |
86 | | - <ColumnDefinition Width="*" /> |
87 | 86 | <ColumnDefinition Width="Auto" /> |
88 | | - <ColumnDefinition Width="*" /> |
| 87 | + <ColumnDefinition Width="Auto" /> |
89 | 88 | <ColumnDefinition Width="Auto" /> |
90 | 89 | <ColumnDefinition Width="Auto" /> |
91 | 90 | <ColumnDefinition Width="Auto" /> |
|
267 | 266 | <Grid> |
268 | 267 | <Border x:Name="DotsBackgroundBorder" |
269 | 268 | Background="Transparent" |
270 | | - CornerRadius="2" /> |
| 269 | + CornerRadius="2" |
| 270 | + Width="36"/> |
271 | 271 | <Image x:Name="PrevImage" |
272 | | - Source="{Binding PreviousSource}" |
273 | | - Width="16px" |
274 | | - Height="16px" |
| 272 | + Width="12px" |
| 273 | + Height="12px" |
275 | 274 | HorizontalAlignment="Center" |
276 | 275 | VerticalAlignment="Center" |
277 | | - Stretch="UniformToFill" /> |
| 276 | + Stretch="UniformToFill" > |
| 277 | + <Image.Style> |
| 278 | + <Style TargetType="Image"> |
| 279 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/caret-left-disabled.png"/> |
| 280 | + <Style.Triggers> |
| 281 | + <DataTrigger Binding="{Binding HasPrevious}" Value="True"> |
| 282 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/caret-left-default.png"/> |
| 283 | + </DataTrigger> |
| 284 | + </Style.Triggers> |
| 285 | + </Style> |
| 286 | + </Image.Style> |
| 287 | + </Image> |
278 | 288 | </Grid> |
279 | 289 | <ControlTemplate.Triggers> |
280 | 290 | <Trigger Property="IsMouseOver" |
|
319 | 329 | <Grid> |
320 | 330 | <Border x:Name="DotsBackgroundBorder" |
321 | 331 | Background="Transparent" |
322 | | - CornerRadius="2" /> |
| 332 | + CornerRadius="2" |
| 333 | + Width="36"/> |
323 | 334 | <Image x:Name="NextImage" |
324 | | - Source="{Binding NextSource}" |
325 | | - Width="16px" |
326 | | - Height="16px" |
| 335 | + Width="12px" |
| 336 | + Height="12px" |
327 | 337 | HorizontalAlignment="Center" |
328 | 338 | VerticalAlignment="Center" |
329 | | - Stretch="UniformToFill" /> |
| 339 | + Stretch="UniformToFill" > |
| 340 | + <Image.Style> |
| 341 | + <Style TargetType="Image"> |
| 342 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/caret-right-disabled.png"/> |
| 343 | + <Style.Triggers> |
| 344 | + <DataTrigger Binding="{Binding HasNext}" Value="True"> |
| 345 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/caret-right-default.png"/> |
| 346 | + </DataTrigger> |
| 347 | + </Style.Triggers> |
| 348 | + </Style> |
| 349 | + </Image.Style> |
| 350 | + </Image> |
330 | 351 | </Grid> |
331 | 352 | <ControlTemplate.Triggers> |
332 | 353 | <Trigger Property="IsMouseOver" |
|
360 | 381 | <Grid> |
361 | 382 | <Border x:Name="DotsBackgroundBorder" |
362 | 383 | Background="Transparent" |
363 | | - CornerRadius="2" /> |
| 384 | + CornerRadius="2" |
| 385 | + Width="36"/> |
364 | 386 | <Image x:Name="DotsImage" |
365 | | - Source="{Binding ConfirmSource}" |
366 | | - Width="16px" |
367 | | - Height="16px" |
368 | | - Margin="5" |
| 387 | + Width="20px" |
| 388 | + Height="20px" |
| 389 | + Margin="3" |
369 | 390 | HorizontalAlignment="Center" |
370 | 391 | VerticalAlignment="Center" |
371 | | - Stretch="UniformToFill" /> |
| 392 | + Stretch="UniformToFill" > |
| 393 | + <Image.Style> |
| 394 | + <Style TargetType="Image"> |
| 395 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/check-disabled.png"/> |
| 396 | + <Style.Triggers> |
| 397 | + <DataTrigger Binding="{Binding ResultsLoaded}" Value="True"> |
| 398 | + <Setter Property="Source" Value="/DynamoCoreWpf;component/UI/Images/check.png"/> |
| 399 | + </DataTrigger> |
| 400 | + </Style.Triggers> |
| 401 | + </Style> |
| 402 | + </Image.Style> |
| 403 | + </Image> |
372 | 404 | </Grid> |
373 | 405 | <ControlTemplate.Triggers> |
374 | 406 | <Trigger Property="IsMouseOver" |
|
402 | 434 | <Grid> |
403 | 435 | <Border x:Name="DotsBackgroundBorder" |
404 | 436 | Background="Transparent" |
405 | | - CornerRadius="2" /> |
| 437 | + CornerRadius="2" |
| 438 | + Width="36"/> |
406 | 439 | <Image x:Name="DotsImage" |
407 | 440 | Source="/DynamoCoreWpf;component/UI/Images/whiteclosetab.png" |
408 | | - Width="16px" |
409 | | - Height="16px" |
410 | | - Margin="5" |
| 441 | + Width="20px" |
| 442 | + Height="20px" |
| 443 | + Margin="3" |
411 | 444 | HorizontalAlignment="Center" |
412 | 445 | VerticalAlignment="Center" |
413 | 446 | Stretch="UniformToFill" /> |
|
463 | 496 | </ToggleButton.Template> |
464 | 497 | </ToggleButton> |
465 | 498 | </Grid> |
466 | | - <Button x:Name="btnDock" |
467 | | - Click="DockButton_OnClick" |
468 | | - Grid.Column="9" |
469 | | - TabIndex="6"> |
470 | | - <Button.Style> |
471 | | - <Style TargetType="{x:Type Button}"> |
472 | | - <Setter Property="Template"> |
473 | | - <Setter.Value> |
474 | | - <ControlTemplate TargetType="{x:Type Button}"> |
475 | | - <Grid> |
476 | | - <Border x:Name="DotsBackgroundBorder" |
477 | | - Background="Transparent" |
478 | | - CornerRadius="0,8,8,0" /> |
479 | | - <Image x:Name="DotsImage" |
480 | | - Source="/DynamoCoreWpf;component/UI/Images/Dock_32px_default.png" |
481 | | - Width="16px" |
482 | | - Height="16px" |
483 | | - Margin="8" |
484 | | - HorizontalAlignment="Center" |
485 | | - VerticalAlignment="Center" |
486 | | - Stretch="UniformToFill" /> |
487 | | - </Grid> |
488 | | - <ControlTemplate.Triggers> |
489 | | - <Trigger Property="IsMouseOver" |
490 | | - Value="True"> |
491 | | - <Setter TargetName="DotsBackgroundBorder" |
492 | | - Property="Background" |
493 | | - Value="{StaticResource DarkGreyBrush}" /> |
494 | | - </Trigger> |
495 | | - <Trigger Property="IsMouseOver" |
496 | | - Value="False"> |
497 | | - <Setter TargetName="DotsBackgroundBorder" |
498 | | - Property="Background" |
499 | | - Value="Transparent" /> |
500 | | - </Trigger> |
501 | | - </ControlTemplate.Triggers> |
502 | | - </ControlTemplate> |
503 | | - </Setter.Value> |
504 | | - </Setter> |
505 | | - </Style> |
506 | | - </Button.Style> |
507 | | - </Button> |
508 | 499 | </Grid> |
509 | 500 | </Grid> |
510 | 501 | </Grid> |
|
0 commit comments