NativeScript icon indicating copy to clipboard operation
NativeScript copied to clipboard

GridLayout inside iOS ActionBar

Open tiagordc opened this issue 10 years ago • 2 comments

Whenever I try to use a GridLayout inside the titleView of the ActionBar I get an error: file:///app/tns_modules/ui/layouts/grid-layout/grid-layout.js:120:40: JS ERROR TypeError: undefined is not an object (evaluating 'this.helper.columns')

Any other layout will work fine

tiagordc avatar Jan 13 '16 17:01 tiagordc

@tiagordc I tried, but could not reproduce the error. Here is the XML I tested width:

<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
    <Page.actionBar>
        <ActionBar title="test">
            <ActionBar.titleView>
                <GridLayout>
                    <Label text="Here be title!"/>
                </GridLayout>
            </ActionBar.titleView>
        </ActionBar>
    </Page.actionBar>
  <StackLayout>

  </StackLayout>
</Page>

Can you share XML of you page so that we can investigate.

vakrilov avatar Jan 14 '16 09:01 vakrilov

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 30 '19 10:08 lock[bot]