Skip to content

Instantly share code, notes, and snippets.

@tj-devel709
Created February 14, 2023 02:19
Show Gist options
  • Save tj-devel709/50731bbb10b18414bbb96a0f00fec158 to your computer and use it in GitHub Desktop.
Save tj-devel709/50731bbb10b18414bbb96a0f00fec158 to your computer and use it in GitHub Desktop.
<VerticalStackLayout
Spacing="10"
Padding="30,0"
VerticalOptions="Center">
<Editor Placeholder="Placeholder" />
<Editor BackgroundColor="red" HeightRequest="100" Placeholder="Placeholder" VerticalTextAlignment="Center" />
<Editor BackgroundColor="red" HeightRequest="100" Text="Lorem ipsum dolor sit amet" VerticalTextAlignment="Center" />
<Editor BackgroundColor="Yellow" HeightRequest="100" Text="Lorem ipsum dolor sit amet" VerticalTextAlignment="End" />
<Editor BackgroundColor="Green" HeightRequest="100" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." />
<ScrollView Background="pink">
<VerticalStackLayout Background="silver">
<BoxView HeightRequest="100"/>
<Editor BackgroundColor="Blue" HeightRequest="100" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." />
<Editor BackgroundColor="Orange" HeightRequest="100" Text="Lorem ipsum dolor sit amet" VerticalTextAlignment="Center" />
<BoxView HeightRequest="100"/>
</VerticalStackLayout>
</ScrollView>
</VerticalStackLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment