Skip to content

Commit 26e260d

Browse files
committed
gone start fixing the scroll bar
1 parent ff39d3a commit 26e260d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CutCode/CutCode.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net5.0-windows</TargetFramework>
66
<UseWPF>true</UseWPF>
7-
<UseWindowsForms>true</UseWindowsForms>
87
</PropertyGroup>
98

109
<ItemGroup>

CutCode/Views/AddView.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
FontSize="14"
119119
ShowLineNumbers="True"
120120
ScrollViewer.CanContentScroll="True"
121+
ScrollViewer.HorizontalScrollBarVisibility="Auto"
122+
ScrollViewer.VerticalScrollBarVisibility="Auto"
121123
Text="{Binding code}"
122124
SyntaxHighlighting="{Binding CurrentLang, Converter={StaticResource HighlightingDefinitionConverter}}"/>
123125
</Border>

0 commit comments

Comments
 (0)