Neden olmasın;
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
paddingHorizontal: windowWidth * 0.05,
},
// diğer stil
image: {
marginVertical: windowWidth * 0.05,
height: windowWidth * 0.2,
width: windowWidth * 0.4,
},
// diğer stil
mainText: {
// diğer stil
fontSize: windowWidth * 0.04,
marginVertical: windowWidth * 0.03,
},
// diğer stil
button: {
// diğer stil
height: windowWidth * 0.1,
width: windowWidth * 0.7
// diğer stil
},
// diğer stil
iconContainer: {
// diğer stil
marginVertical: windowWidth * 0.03
},
});
burada height: windowWidth diyor, burada bunun windowHeight olması gerekmez mi ? ya da neden marginVertical winwodWidth ile hesaplanıyor, windowHeight ile hesaplanmıyor. Edit, düz chat GPT yaptırmışsınız, hiç aklıma gelmemişti bu saolun