roberthovhannisyan / PhoneGap-Plugin-ListPicker

ListPicker Plugin for Cordova/PhoneGap (iOS and Android)
MIT License
35 stars 40 forks source link

Is it possible to make the dialog wider #7

Open crortiz opened 9 years ago

crortiz commented 9 years ago

On the iPad, is it Possible to make the dialog window wider to display more of the text?

roberthovhannisyan commented 9 years ago

Hi @crortiz,

The size for the iPad is fixed (320, 320) as you can see in the following line: https://github.com/roberthovhannisyan/PhoneGap-Plugin-ListPicker/blob/master/src/ios/ListPicker.m#L312

This part is adopted from TimCinel's ActionSheetPickers here: https://github.com/TimCinel/ActionSheetPicker/blob/master/Pickers/AbstractActionSheetPicker.m

I suppose this is done for some reason (however I don't know exact one). If you have ideas on these values, please feel free to suggest

zabojad commented 8 years ago

Hi ! I'm not sure but wouldn't it be adressed by PR #3 ?