|
647 | 647 | Consider using a Math Solver, will help in making
|
648 | 648 | development of these things much easier
|
649 | 649 | -->
|
| 650 | + <!-- Changed the font size from {SearchBarTextBoxFontSize} to 12. This now display the text box correctly in the text box.--> |
650 | 651 | <TextBox
|
651 | 652 | Grid.Column="0"
|
652 | 653 | Width="{SearchBarWidth}"
|
653 | 654 | Height="{SearchBarHeight}"
|
654 |
| - FontSize="{SearchBarTextBoxFontSize}" |
| 655 | + FontSize="12" |
655 | 656 | VerticalAlignment="Center" HorizontalAlignment="Left"
|
656 | 657 | BorderThickness="1"
|
657 | 658 | Name="SearchBar"
|
658 | 659 | Foreground="{MainForegroundColor}" Background="{MainBackgroundColor}"
|
659 | 660 | ToolTip="Press Ctrl-F and type app name to filter application list below. Press Esc to reset the filter">
|
660 | 661 | </TextBox>
|
| 662 | + <!--Changed the margin from 16 to 180, which now places the magnifying glass icon on the right side of the text box. Now able to see what is been searched for.--> |
661 | 663 | <TextBlock
|
662 | 664 | Grid.Column="0"
|
663 | 665 | VerticalAlignment="Center" HorizontalAlignment="Left"
|
664 | 666 | FontFamily="Segoe MDL2 Assets"
|
665 | 667 | FontSize="{IconFontSize}"
|
666 |
| - Margin="16,0,0,0"></TextBlock> |
| 668 | + Margin="180,0,0,0"></TextBlock> |
667 | 669 | <!--
|
668 | 670 | TODO:
|
669 | 671 | Make this ClearButton Positioning react to
|
670 | 672 | SearchBar Width Value changing, so it'll look correct.
|
671 | 673 | Consider using a Math Solver, will help in making
|
672 | 674 | development of these things much easier
|
673 | 675 | -->
|
| 676 | + <!-- changed the {SearchBarClearButtonMargin} value from 193 to 205, which now places the clear button on the outside of the text box. --> |
674 | 677 | <Button Grid.Column="0"
|
675 | 678 | VerticalAlignment="Center" HorizontalAlignment="Left"
|
676 | 679 | Name="SearchBarClearButton"
|
677 | 680 | Style="{StaticResource SearchBarClearButtonStyle}"
|
678 |
| - Margin="193,0,0,0" Visibility="Collapsed"/> |
| 681 | + Margin="205,0,0,0" Visibility="Collapsed"/> |
679 | 682 |
|
680 | 683 | <ProgressBar
|
681 | 684 | Grid.Column="1"
|
|
0 commit comments