Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

Styling a listview in React Native

$
0
0
I'm trying to apply styling on a listview in React Native. My goal is to make the listview items take the full width of the screen and space evenly. I accomplished this in the react developer inspector tool by applying {justifyContent:'space-evenly', flex: 1,} on the  (blue arrow). Now I want to put the styling in the custom.js file but I dont know how to target it.  In the attached picture, "container" refers to and "listItem" refers to listview items like "listView@item0". Does anyone know how to target (blue arrow) to apply styling on it? Thank you!

Viewing all articles
Browse latest Browse all 83469

Trending Articles