Skip to content

Missing style - List view #13

@Graham42

Description

@Graham42

From todo/listview onwards need to add flexDirection: 'row' for the content view element, otherwise the width is only as much as the content:

image

Fix with:

  content: {
    flex: 1,
+   flexDirection: "row"
  },

Result:

image

Environment:

Details

Output of react-native info:

Environment:
OS: Linux 4.4
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.0 => 0.52.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions