I am attempting to make a helper function which transforms a SelectItem into a larger SelectItem, to be used on certain screens which need to be touchscreen-friendly.
For the most part, the code is working cleanly, but I cannot figure out how to change the size and img src of the checkbox icons which appear as part of a multiple-select dropdown.
Is there a way to configure the checkbox icon for a SelectItem?
I've included the code of my util function.
For the most part, the code is working cleanly, but I cannot figure out how to change the size and img src of the checkbox icons which appear as part of a multiple-select dropdown.
Is there a way to configure the checkbox icon for a SelectItem?
I've included the code of my util function.
Code:
public static void configureForTouch(SelectItem item) {
item.setAttribute("height",32);
item.setAttribute("valign","middle");
item.setTextBoxStyle("selectItemTextTouch");
item.setTitleStyle("formTitleTouch");
item.setAttribute("pickListTallBaseStyle","pickListCellTouch");
item.setAttribute("pickerIconSrc","[SKIN]/pickers/touch/comboBoxPicker.png");
item.setAttribute("pickerIconWidth",26);
}