IE dropdown width

2
I have an issue with all the select-boxes/dropdowns being a fixed size. Firefox adjusts the width to the dropdown according to the items. IE restricts it to the fixed select size.
asked
3 answers
3

Karol, I saw your comment on Pieter's post. You can do something like this:

select.mendixDataGrid_searchItemSelectBox {
 width:auto !important;
}

I didn't test is, but this should work. Could you test it in IE and FF?

Edit after comment Karol:

You could do the same for the option I think.

option.mendixDataGrid_searchItemSelectBox {
     width:auto !important;
    }

Something like this. Maybe this will work. Or:

select.mendixDataGrid_searchItemSelectBox option {
         width:auto !important;
        }
answered
1

If you want to set a standard width you can check the css. For example when using the dutch theme check .mendixFormView_selectBox in mendix.css (line1) maybe you can set the width to 217 px (instead of 100%). Your css would then look like:

.mendixFormView_selectBox {
border: 1px solid #000000;
width: 217px;

}

Remember that this css makes the dropdown and selectbox a static width. but won't be resizing anymore

also you can change:

.mendixDataGrid_searchItemSelectBox {
border: 1px solid #000000;
width: your size + px;

I think however that it is not a good idea to change the css and this should be done dynamically in Mendix. I don't know if this is possible however.

answered
0

So what's the question? Do you want to adjust the fixed size or remove the fixed size?

answered