mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
fix scrolling issue
Signed-off-by: Shawn Yuan (from Dev Box) <shuaiyuan@microsoft.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="*" />
|
<RowDefinition Height="*" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid Padding="24,32,24,0">
|
<Grid Padding="24,12,24,0">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
x:Uid="AllAppsTxt"
|
x:Uid="AllAppsTxt"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<FontIcon FontSize="16" Glyph="" />
|
<FontIcon FontSize="16" Glyph="" />
|
||||||
</Button.Content>
|
</Button.Content>
|
||||||
<Button.Flyout>
|
<Button.Flyout>
|
||||||
<MenuFlyout>
|
<MenuFlyout Placement="BottomEdgeAlignedRight">
|
||||||
<ToggleMenuFlyoutItem
|
<ToggleMenuFlyoutItem
|
||||||
x:Uid="Dashboard_SortAlphabetical"
|
x:Uid="Dashboard_SortAlphabetical"
|
||||||
Click="SortAlphabetical_Click"
|
Click="SortAlphabetical_Click"
|
||||||
@@ -69,9 +69,12 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
<controls:ModuleList
|
<Grid Grid.Row="1">
|
||||||
Grid.Row="1"
|
<ScrollViewer
|
||||||
IsItemClickable="False"
|
HorizontalScrollBarVisibility="Disabled"
|
||||||
ItemsSource="{x:Bind ViewModel.FlyoutMenuItems, Mode=OneWay}" />
|
VerticalScrollBarVisibility="Auto">
|
||||||
|
<controls:ModuleList IsItemClickable="False" ItemsSource="{x:Bind ViewModel.FlyoutMenuItems, Mode=OneWay}" />
|
||||||
|
</ScrollViewer>
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
xmlns:winuiEx="using:WinUIEx"
|
xmlns:winuiEx="using:WinUIEx"
|
||||||
Title="PowerToys Quick Access (Preview)"
|
Title="PowerToys Quick Access (Preview)"
|
||||||
Width="420"
|
Width="420"
|
||||||
Height="188"
|
Height="268"
|
||||||
MinWidth="420"
|
MinWidth="420"
|
||||||
MinHeight="188"
|
MinHeight="268"
|
||||||
IsAlwaysOnTop="True"
|
IsAlwaysOnTop="True"
|
||||||
IsMaximizable="False"
|
IsMaximizable="False"
|
||||||
IsMinimizable="False"
|
IsMinimizable="False"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<UserControl
|
<UserControl
|
||||||
x:Class="Microsoft.PowerToys.Settings.UI.Controls.ModuleList"
|
x:Class="Microsoft.PowerToys.Settings.UI.Controls.ModuleList"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
Title="{x:Bind Title, Mode=OneWay}"
|
Title="{x:Bind Title, Mode=OneWay}"
|
||||||
MinWidth="400"
|
MinWidth="400"
|
||||||
Padding="0"
|
Padding="0"
|
||||||
|
VerticalAlignment="Top"
|
||||||
DividerVisibility="Collapsed">
|
DividerVisibility="Collapsed">
|
||||||
<controls:Card.TitleContent>
|
<controls:Card.TitleContent>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user