can't left allign. Tried everything.
sirusbaladi opened this issue · comments
Hi All, I've been stuck on this for far too long and I've done way more complicated UIs, but can't figure this one out, so asking the help from the community!
As you can see from the video, the datetimepicker ( https://github.com/react-native-datetimepicker/datetimepicker) changes size depending on the date selected. I tried my best, limiting max width, min width, width or wrapping it in a view and so on.
What I'm tried to achive is to have the picker left alignment fixed. If it want's to expand it can be on the right side. I don't get why i can't do this. Another acceptable solution would be to fix the width so that it can neither expand or shrink so that I can the allign it with other elements.
Any help?
WhatsApp.Video.2024-02-09.at.2.41.13.PM.mp4
![image](https://private-user-images.githubusercontent.com/86076488/303758657-789bdc80-18f5-4452-8a53-3e1b37623f42.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU2MjQ4NjksIm5iZiI6MTcxNTYyNDU2OSwicGF0aCI6Ii84NjA3NjQ4OC8zMDM3NTg2NTctNzg5YmRjODAtMThmNS00NDUyLThhNTMtM2UxYjM3NjIzZjQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTEzVDE4MjI0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0NjY3NzUwYmExZTEwODQ0OGEwODA3YTBhMDg4MzgzMGViZmZjNzM1MTU1ZWMxYjI2MDZkZDk2ZGE3YTc4MWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vFAk5DcToc1g_C9qsjqjQY3PDML8OrpVriN3EPUqvis)
Did you find a solution? I am also facing the same issue