PDA

View Full Version : combobox and edittext height


kbriggs
05-10-2007, 12:55 PM
OL 3.3.3

I've got edittext and combobox components on a common row. The editboxes are 26 pixels in height while the comboboxes are 22 pixels high. I would like to make these the same for a cleaner look. If I try to set height ="22" on the edittext, it shrinks down but the border is screwed up. If I try to set height="26" on the comboboxes, there is no visible change on a closed state although the drop list gets shifted down 4 pixels when open. So how to I get these at the same height with all the internal parts properly adjusted? It seems to me that a well-designed component would have done this automatically with the height adjustment alone.

By the way, the border on the combobox is not drawn quite right. It looks like a pixel is missing at the lower left corner.

kbriggs
05-12-2007, 11:25 AM
I've replaced the <edittext> components with <simpleinputtext> components even though the docs say those are deprecated. At least I can set the height on those to match the <comboboxes> without screwing up the border. :mad: