mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Include test page for issue 4143
This commit is contained in:
6
apps/app/ui-tests-app/flexbox/flexbox-4143.css
Normal file
6
apps/app/ui-tests-app/flexbox/flexbox-4143.css
Normal file
@ -0,0 +1,6 @@
|
||||
.bg-background {
|
||||
background-image: url("~/ui-tests-app/image-view/gravatar.png");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
6
apps/app/ui-tests-app/flexbox/flexbox-4143.xml
Normal file
6
apps/app/ui-tests-app/flexbox/flexbox-4143.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
|
||||
<FlexboxLayout flexDirection="column" class="legend-wrapper bg-background" flexGrow="1">
|
||||
<Label text="TyFitt" class="title"></Label>
|
||||
<Label text="Workout is a life style." class="legend"></Label>
|
||||
</FlexboxLayout>
|
||||
</Page>
|
@ -14,6 +14,7 @@ export function pageLoaded(args: EventData) {
|
||||
examples.set("flexboxdemo", "flexbox/flexbox-demo");
|
||||
examples.set("flexrepeat", "flexbox/flexbox-repeater");
|
||||
examples.set("flex-perf", "flexbox/flexbox-perf-comparison");
|
||||
examples.set("flexbox-4143", "flexbox/flexbox-4143");
|
||||
|
||||
let viewModel = new FlexboxMainPageViewModel(wrapLayout, examples);
|
||||
page.bindingContext = viewModel;
|
||||
|
Reference in New Issue
Block a user