fateh999/react-native-paper-form-builder

Any way to specify the width of a column?

Closed this issue · 3 comments

dk253 commented

Hey, I very much appreciate your work on this.

Is there any way to specify the width of a column, or is it just equal percents for the columns?

For example, I have City, State, Postal code columns. I'd like to give the city 50% and the state and postal 20% and 30% respectively.

Thanks!

Thanks, for now it is equivalent size but will provide an option of variable sized column in next update

@dk253 added a flex prop in the config object in the latest version, use it to manipulate width.

dk253 commented

Excellent! Thanks!! (works great)