We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf7568 commit aa850ffCopy full SHA for aa850ff
Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs
@@ -53,7 +53,7 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
53
// Check if Text will be larger then our QueryTextBox
54
System.Windows.Media.Typeface typeface = new Typeface(QueryTextBox.FontFamily, QueryTextBox.FontStyle, QueryTextBox.FontWeight, QueryTextBox.FontStretch);
55
System.Windows.Media.FormattedText ft = new FormattedText(QueryTextBox.Text, System.Globalization.CultureInfo.CurrentCulture, System.Windows.FlowDirection.LeftToRight, typeface, QueryTextBox.FontSize, Brushes.Black);
56
- if ((ft.Width + 30) > QueryTextBox.ActualWidth || QueryTextBox.HorizontalOffset != 0)
+ if ((ft.Width + 40) > QueryTextBox.ActualWidth || QueryTextBox.HorizontalOffset != 0)
57
{
58
return string.Empty;
59
};
0 commit comments