Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Editor with vertical scroll bar

$
0
0

Hi,

I am using Editor for Multiline text. If the text is longer than the editor height, i am able to scroll the text, but vertical scroll bar is not shown. How to make scrollbar visible in Editor if the content inside Editor is longer than Editor's height?

Below is my code.

<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    x:Class="HelloXamarinForms.EditNote"
    Title = "EditNote">
    <ContentPage.Content>
    <ScrollView>        
         <StackLayout Spacing="10"
               VerticalOptions="FillAndExpand"
               Orientation="Vertical">

                   <Editor
                        BackgroundColor = "#FFFFCC"
                        HeightRequest = "100"
                        IsFocused = "True"
                        x:Name="noteArea"
                            >
                   </Editor>    


         </StackLayout>

    </ScrollView>


    </ContentPage.Content>
</ContentPage>

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>