FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Curious space with ListView in a TabView in More section · Issue #3865 · NativeScript/NativeScript · GitHub

Curious space with ListView in a TabView in More section #3865

Description

Hello,

I have currently a little problem and couldn't find any solutions.

I have a TabView with 8 items. In iOS you will have a "more" button to see the other items of a tabview.
I choose an item with listview inside, which are in "more". When the view is showing you will have a gap between the listview and actionbar. If I look at this listview when it's not in "more", everything is fine.

Maybe there is on with the same problem or have any solution.

tab-bar.html

<TabView #tabView>

    <StackLayout *tabItem="{title: 'Karte', iconSource: 'res://Map'}">
        <map></map>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Route', iconSource: 'res://Route'}">
        <route></route>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Hinzufügen', iconSource: 'res://Add'}">
        <Label text="Hinzufügen"></Label>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Facebook', iconSource: 'res://Facebook'}">
        <Label text="Facebook"></Label>
    </StackLayout>

    <StackLayout *tabItem="{title: 'News', iconSource: 'res://News'}">
        <news></news>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Forum', iconSource: 'res://Forum'}">
        <GridLayout>
            <WebView src="https://google.de"> </WebView>
        </GridLayout>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Bußgeldrechner', iconSource: 'res://Calculator'}">
        <GridLayout>
            <WebView src="https://bussgeldrechner.expert/bussgeldbescheid-pruefen"> </WebView>
        </GridLayout>
    </StackLayout>

    <StackLayout *tabItem="{title: 'Einstellungen', iconSource: 'res://Settings'}">
        <Label text="Facebook"></Label>
    </StackLayout>

</TabView>

news.html

<GridLayout>
    <ListView [items]="newsArray" class="list-group" (itemTap)="onItemTap($event)">
        <template let-item="item">
            <StackLayout>
                <Label [text]="item.title" class="title small-spacing"></Label>
                <Label [text]="item.text" class="text small-spacing"></Label>
            </StackLayout>
        </template>
    </ListView>
</GridLayout>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL