Combo with larger image
Hi.
I'm trying to use a larger image in a combo (32x32).
I defined a new style:
and set size of combo:
All is ok for height but the width overlap with the text of combo.
Is there a solution for non overlapping combo text?
Thanks,
Marco - Milano,Italy
I'm trying to use a larger image in a combo (32x32).
I defined a new style:
.aw-image-admin {background: url(/img/admin.png); width:32px; height:32px;}
and set size of combo:
var cstart = new AW.UI.Combo;
cstart.setSize(100, 32);
cstart.setId("comboStart");
cstart.setControlText("Admin");
cstart.setControlImage("admin");
cstart.setItemText(["Home", "Config", "PTC"]);
cstart.setItemCount(3);
document.write(cstart);
All is ok for height but the width overlap with the text of combo.
Is there a solution for non overlapping combo text?
Thanks,
Marco - Milano,Italy
Marco
November 21,