[ http://issues.apache.org/jira/browse/XAP-151?page=comments#action_12451187 ] Turyn, Michael commented on XAP-151: ------------------------------------
FIX:[ In xap.widgets.Label]: Image height and width setting now use img.setAttribute(), they work better than setting img.height/img.width. Can now use 'px','%','en','em' [...?], seems to default to 'px' if units not specified. > Widgets: Button: imgHeight and imgWidth don't allow 'px' in attribute value > --------------------------------------------------------------------------- > > Key: XAP-151 > URL: http://issues.apache.org/jira/browse/XAP-151 > Project: XAP > Issue Type: Bug > Components: Widgets > Reporter: Trevor Oldak > Priority: Minor > > Setting the imgHeight attribute of a button or label to '50px' will not work > and make the image invisible. Setting it to '50' works, though. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
