Skip to content

Commit a2d9cb6

Browse files
committed
- Adjust ResultListItem Layout for Large Window Size
- Change Window Max Width to 1920 from 900
1 parent fabb396 commit a2d9cb6

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

Flow.Launcher/ResultListBox.xaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<ListBox.ItemTemplate>
3232
<DataTemplate>
33-
<Button>
33+
<Button HorizontalAlignment="Stretch">
3434
<Button.Template>
3535
<ControlTemplate>
3636
<ContentPresenter Content="{TemplateBinding Button.Content}" />
@@ -39,9 +39,10 @@
3939
<Button.Content>
4040
<Grid
4141
Margin="0"
42-
HorizontalAlignment="Left"
42+
HorizontalAlignment="Stretch"
4343
VerticalAlignment="Stretch"
4444
Cursor="Hand"
45+
ShowGridLines="True"
4546
UseLayoutRounding="False">
4647
<Grid.Resources>
4748
<converter:HighlightTextConverter x:Key="HighlightTextConverter" />
@@ -50,7 +51,7 @@
5051
</Grid.Resources>
5152
<Grid.ColumnDefinitions>
5253
<ColumnDefinition Width="60" />
53-
<ColumnDefinition Width="*" />
54+
<ColumnDefinition Width="9*" />
5455
<ColumnDefinition Width="Auto" />
5556
</Grid.ColumnDefinitions>
5657
<StackPanel
@@ -129,12 +130,9 @@
129130
<TextBlock
130131
x:Name="SubTitle"
131132
Grid.Row="1"
132-
MinWidth="750"
133133
Style="{DynamicResource ItemSubTitleStyle}"
134134
Text="{Binding Result.SubTitle}"
135-
ToolTip="{Binding ShowSubTitleToolTip}">
136-
137-
</TextBlock>
135+
ToolTip="{Binding ShowSubTitleToolTip}" />
138136

139137
</Grid>
140138

Flow.Launcher/SettingWindow.xaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,7 @@
597597
<StackPanel Style="{StaticResource TextPanel}">
598598
<TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource startFlowLauncherOnSystemStartup}" />
599599
</StackPanel>
600-
<CheckBox
601-
IsChecked="{Binding StartFlowLauncherOnSystemStartup}"
602-
Style="{DynamicResource SideControlCheckBox}" />
600+
<CheckBox IsChecked="{Binding StartFlowLauncherOnSystemStartup}" Style="{DynamicResource SideControlCheckBox}" />
603601
<TextBlock Style="{StaticResource Glyph}">
604602
&#xe8fc;
605603
</TextBlock>
@@ -1621,7 +1619,7 @@
16211619
Margin="0,0,18,0"
16221620
IsMoveToPointEnabled="True"
16231621
IsSnapToTickEnabled="True"
1624-
Maximum="900"
1622+
Maximum="1920"
16251623
Minimum="400"
16261624
TickFrequency="10"
16271625
Value="{Binding WindowWidthSize, Mode=TwoWay}" />
@@ -1792,9 +1790,9 @@
17921790
Margin="20,0,0,0"
17931791
HorizontalAlignment="Left"
17941792
VerticalAlignment="Top"
1793+
IsSynchronizedWithCurrentItem="False"
17951794
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
1796-
SelectedItem="{Binding SelectedQueryBoxFont}"
1797-
IsSynchronizedWithCurrentItem="False" />
1795+
SelectedItem="{Binding SelectedQueryBoxFont}" />
17981796
<ComboBox
17991797
Width="130"
18001798
Margin="10,0,0,0"
@@ -1843,9 +1841,9 @@
18431841
Margin="20,-2,0,0"
18441842
HorizontalAlignment="Left"
18451843
VerticalAlignment="Top"
1844+
IsSynchronizedWithCurrentItem="False"
18461845
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
1847-
SelectedItem="{Binding SelectedResultFont}"
1848-
IsSynchronizedWithCurrentItem="False" />
1846+
SelectedItem="{Binding SelectedResultFont}" />
18491847
<ComboBox
18501848
Width="130"
18511849
Margin="10,-2,0,0"

0 commit comments

Comments
 (0)