Combo text edit box too small in Opera 9.24
I've created and resized a combo box using the following code:
var reports_combo = new AW.UI.Combo;
var reports_combo_items = new Array();
db_sql_query("SELECT name FROM tblreports ORDER BY name", "", "reports_combo_items", "0");
reports_combo.setId("reports_combo");
reports_combo.setControlText("(New Report)");
reports_combo.setItemText(reports_combo_items);
reports_combo.setItemCount(reports_combo_items.length);
reports_combo.setControlSize(200, 23);
reports_combo.setStyle("z-index", "1");
reports_combo.getPopupTemplate().setStyle("width", "200px");
reports_combo.refresh();
However, in Opera browser, the width of the text entry control inside the combo box does not resize from it's default, so it's too short.
var reports_combo = new AW.UI.Combo;
var reports_combo_items = new Array();
db_sql_query("SELECT name FROM tblreports ORDER BY name", "", "reports_combo_items", "0");
reports_combo.setId("reports_combo");
reports_combo.setControlText("(New Report)");
reports_combo.setItemText(reports_combo_items);
reports_combo.setItemCount(reports_combo_items.length);
reports_combo.setControlSize(200, 23);
reports_combo.setStyle("z-index", "1");
reports_combo.getPopupTemplate().setStyle("width", "200px");
reports_combo.refresh();
However, in Opera browser, the width of the text entry control inside the combo box does not resize from it's default, so it's too short.
Dan
December 11,