Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#4489 closed defect (fixed)

ComboBox: dropdown too wide

Reported by: bill Owned by:
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

After the checkin for the "invalid icon" (the yellow triangle with the exclamation mark), the ComboBox drop down is too wide, because it's being sized to include the space for the icon.

Change History (4)

comment:1 Changed 12 years ago by bill

Description: modified (diff)

The ComboBox? template is a 3 column table (<input>, arrow icon, and exclamation mark) which makes it difficult to size the drop down. I could size it (ie, make it as least as wide as) the arrow icon and <input> node, although I feel a bit uneasy about that calculation, and also about each of those nodes having a border rather than a border being on a container for both of them.

comment:2 Changed 12 years ago by bill

Will be fixed by #4512.

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [10663]) 1. Move validation icon to appear inside the box (for TextBox?, ValidationTextBox?, ComboBox?, and Spinner template based widgets).

  1. Width setting applies to outer node: setting combobox to width=100px leaves 16px

for the arrow icon and 84px for the input node (unless the error icon is shown, in which case the input gets less space). Size property desupported.

This is still rough; it needs some more CSS cleanup and haven't even looked at soria yet... but the basics are there.

Fixes #4444, #4512, #4489 Refs #4475, #4513

comment:4 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.