Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to increase ProgressViewIOS bar height

Tags:

react-native

I need to increase the Size(height) of the progress bar. Any suggestions would b helpful.

I am using ProgressViewIOS native component.

like image 936
sathish Avatar asked Dec 07 '25 17:12

sathish


2 Answers

The use of transform property is correct. Its syntax should be something like

<ProgressViewIOS style={styles.progressBar}/>

const styles = StyleSheet.create({
  progressBar: {
    width: 100,
    transform: [{ scaleX: 1.0 }, { scaleY: 2.5 }],
  }
})
like image 193
Axel Schenkelman Avatar answered Dec 09 '25 16:12

Axel Schenkelman


I was able to achieve height manipulation using the transform style property.

transform: 'scaleX(1.0) scaleY(3.0)'

changing the scaleY number will increase or decrease the height.

like image 40
stims Avatar answered Dec 09 '25 15:12

stims



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!