I've encountered an issue with my Picker element - specifically, I can't seem to reduce its height. Despite trying to adjust the height property in my code snippet below, I haven't had any luck.
Here is my code snippet:
<View class="pageContainer">
<Picker id="langPicker">
<PickerRow title="Select a Language"/>
<PickerRow title="English"/>
<PickerRow title="French"/>
<PickerRow title="Spanish"/>
</Picker>
<Button class="button" onClick="saveLang" dataTransform="transformFunction">Proceed</Button>
</View>
Style
"#langPicker": {
width: '90%',
top: '25dp',
height: '50dp'
}
Does anyone have suggestions on how I can successfully reduce the height of the picker?