Background:
& nbsp; & Nbsp; & Nbsp; & Nbsp; I am working on some UI where I permit the user to programmatically
problem:
& nbsp; & Nbsp; & Nbsp; & Nbsp; When a combo box resizes, the dropdown stays in width at the same time as it falls for the first time. So the user places the combo box on the page, clicks down arrow, sees the option, selects an option, or clicks the arrow again to close, changes the width of the drop down, the down arrow Clicks on the drop down now has the same width as the original. Have tried simple things like setting the width of the dropdown specially and making the display list invalid, but it still does not work.
Example:
& nbsp; & Nbsp; & Nbsp; & Nbsp; Code example pending
I solved my problem while trimming down my code for an example. Dropbox is a Width property in a combobox I was trying to set it to myComboBox.dropdownWidth = newWidth
, which does not work (not entirely sure why not open in SDK) However if I change my code to myComboBox.dropdown.width = newWidth
then it actually goes to the dropdown element and it works directly which resets it.
Comments
Post a Comment