Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Layout issue with NativeScript 3.2 #32

Closed
shankarGdev opened this issue Sep 14, 2017 · 2 comments
Closed

Layout issue with NativeScript 3.2 #32

shankarGdev opened this issue Sep 14, 2017 · 2 comments

Comments

@shankarGdev
Copy link

shankarGdev commented Sep 14, 2017

Layout not working when PullToRefresh used, below is my code

<GridLayout xmlns="http://schemas.nativescript.org/tns.xsd"
    xmlns:PullRefresh="nativescript-pulltorefresh" class="page-content" loaded="onLoaded">
    <PullRefresh:PullToRefresh refresh="refreshList">
    	<Label class="page-icon fa" text="&#xf015;"></Label>
    	<Label class="page-placeholder" color="#000" text="Lorem ipsum irure ex ad ut ad cillum veniam in ea tempor nulla ad dolore consectetur dolore est ut cillum dolore irure aliqua in."></Label>
    </PullRefresh:PullToRefresh>
</GridLayout>

Expected:

screenshot_2017-09-14-20-45-45

What I got:

screenshot_2017-09-14-20-48-31

When PullRefresh:PullToRefresh is commented everything works fine.

@bradmartin
Copy link
Collaborator

The PullToRefresh is a layout similar to StackLayout or other content-view views. Try setting a height of 100% and width of 100% on it so that it fills the page. That should help some.

@shankarGdev
Copy link
Author

@bradmartin It's working and Thank's for your plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants