PDA

View Full Version : Combobox width issue in Chrome/Safari



offshoreteam
5 Sep 2013, 5:20 AM
Combobox is going outside the div in chrome for resolution lower than 1280*600

We have set the width of 410px by default for the combobox.

Please see attached images from different resolution.

Has anybody faced the same issue with combobox? Please help.

ettavolt
6 Sep 2013, 3:24 AM
If you set width yourself, it becomes fixed, not default. That's why, I believe, your combo does not resize.

offshoreteam
13 Sep 2013, 4:24 AM
We want the combobox to be fit into its parent div, hene we have given width to it.

ettavolt
15 Sep 2013, 10:41 PM
If you want to fit, you must not specify fixed width but should use some layout-specific config: anchor, flex, align, etc.