I'm developing a Combo Box for an ArcMap toolbar, that at present simply lists all of the layers that are in the table of contents. However the height of the drop-down menu is very small, and I cannot see a property that I can set to change the default height of the drop-down list. I've attached a screenshot to demonstrate the problem. You can see that only one item is visible in the drop-down menu, although there are four layers in the TOC. The other layers can be accessed (look at the tiny arrow buttons, which do work), but it is really difficult to do.
In the add-in
config.xml there is a
rows property, which defaults to 4. Changing it to a higher or smaller number does nothing.
In the Combo Box documentation, there are properties for the Python class controlling the Combo Box. These allow control of
width, bizarrely controlled by supplying a string of lots of the same character.
I've been using the Python add-in wizard to form the template. I'd like to stick to that but I'm open to ArcObjects if that's the only solution.