Skip to content

Commit 8fd08f7

Browse files
authored
Update inputXML.xaml (#2558)
Change to line 654 from {SearchBarTextBoxFontSize} to 12. This now now allows the text to display correctly in the text box. Change to line 666 from 16 to 180 for the margin. This now allows text to be visible when searching, also positions the magnify glass to the right side of the text box. Change to line 678 from 193 to 205, which now places the clear button (X) on the outside of the text box for clearing the text in the textbox.
1 parent 6c3539e commit 8fd08f7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

xaml/inputXML.xaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -647,35 +647,38 @@
647647
Consider using a Math Solver, will help in making
648648
development of these things much easier
649649
-->
650+
<!-- Changed the font size from {SearchBarTextBoxFontSize} to 12. This now display the text box correctly in the text box.-->
650651
<TextBox
651652
Grid.Column="0"
652653
Width="{SearchBarWidth}"
653654
Height="{SearchBarHeight}"
654-
FontSize="{SearchBarTextBoxFontSize}"
655+
FontSize="12"
655656
VerticalAlignment="Center" HorizontalAlignment="Left"
656657
BorderThickness="1"
657658
Name="SearchBar"
658659
Foreground="{MainForegroundColor}" Background="{MainBackgroundColor}"
659660
ToolTip="Press Ctrl-F and type app name to filter application list below. Press Esc to reset the filter">
660661
</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.-->
661663
<TextBlock
662664
Grid.Column="0"
663665
VerticalAlignment="Center" HorizontalAlignment="Left"
664666
FontFamily="Segoe MDL2 Assets"
665667
FontSize="{IconFontSize}"
666-
Margin="16,0,0,0">&#xE721;</TextBlock>
668+
Margin="180,0,0,0">&#xE721;</TextBlock>
667669
<!--
668670
TODO:
669671
Make this ClearButton Positioning react to
670672
SearchBar Width Value changing, so it'll look correct.
671673
Consider using a Math Solver, will help in making
672674
development of these things much easier
673675
-->
676+
<!-- changed the {SearchBarClearButtonMargin} value from 193 to 205, which now places the clear button on the outside of the text box. -->
674677
<Button Grid.Column="0"
675678
VerticalAlignment="Center" HorizontalAlignment="Left"
676679
Name="SearchBarClearButton"
677680
Style="{StaticResource SearchBarClearButtonStyle}"
678-
Margin="193,0,0,0" Visibility="Collapsed"/>
681+
Margin="205,0,0,0" Visibility="Collapsed"/>
679682

680683
<ProgressBar
681684
Grid.Column="1"

0 commit comments

Comments
 (0)