Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

在一些弹出面板中显示滚动条 #1102

Merged
merged 1 commit into from
Apr 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/App/Controls/Common/ReplyView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@
<Grid Grid.Row="1">
<ScrollViewer
x:Name="ContentScrollViewer"
Margin="-16,0"
HorizontalScrollMode="Disabled"
VerticalScrollBarVisibility="Hidden">
VerticalScrollBarVisibility="Auto">
<local:VerticalRepeaterView
Margin="16,0,16,12"
HeaderVisibility="Collapsed"
ItemOrientation="Horizontal"
ItemsSource="{x:Bind ViewModel.ReplyCollection, Mode=OneWay}"
Expand Down
7 changes: 5 additions & 2 deletions src/App/Controls/Favorite/FavoriteVideoView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@
</Grid>
<Grid Grid.Row="1">
<Grid>
<ScrollViewer HorizontalScrollMode="Disabled" VerticalScrollBarVisibility="Hidden">
<ScrollViewer
Margin="-16,0"
HorizontalScrollMode="Disabled"
VerticalScrollBarVisibility="Auto">
<local:VerticalRepeaterView
x:Name="VideoView"
Margin="0,0,0,12"
Margin="16,0,16,12"
Background="Transparent"
HeaderVisibility="Collapsed"
ItemOrientation="Horizontal"
Expand Down
5 changes: 3 additions & 2 deletions src/App/Controls/User/UserView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,13 @@
<Grid Grid.Row="1">
<ScrollViewer
x:Name="ContentScrollViewer"
Margin="-16,0"
HorizontalScrollMode="Disabled"
VerticalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Auto"
Visibility="{x:Bind ViewModel.IsSearching, Mode=OneWay, Converter={StaticResource BoolToVisibilityReverseConverter}}">
<local:VerticalRepeaterView
x:Name="VideoView"
Margin="0,0,0,12"
Margin="16,0,16,12"
Background="Transparent"
HeaderText="{loc:LocaleLocator Name=Videos}"
ItemOrientation="Horizontal"
Expand Down