Closed GoogleCodeExporter closed 8 years ago
What you have described is a consequence of how css works. Your definition of
"body div" applies to every div within the body tag, at every level, which
includes the DDCL components. So when DDCL is computing the width to use, it
sees the 825 setting and assumes that is how wide the dropdown needs to be.
There is not much that DDCL can do since it relies on the browser to tell it
how wide the dropdown is, based on all the items contained therein. And your
css definition affects how the browser does that calculation. If you do not
want to change your css, I would suggest using the explicit DDCL width option.
Original comment by womohun...@ittrium.com
on 16 Aug 2011 at 2:18
I used width in DDCL like this:
$("#selectAccessLevel").dropdownchecklist( {icon: {}, width: 385 } );
but still have to change my css.
Thanks for your software
Original comment by lovecrea...@gmail.com
on 24 Aug 2011 at 7:50
This is not unexpected, since the 'width' option affects the inline display,
not the popup (unless the popup is narrower than the width). You are having
problems with the popup, which attempts to size itself based on the width of
the widest display item. But your css definition affects the popup itself, so
that is why you need to change your css.
Original comment by womohun...@ittrium.com
on 24 Aug 2011 at 1:58
Original issue reported on code.google.com by
lovecrea...@gmail.com
on 16 Aug 2011 at 9:32