[ https://issues.apache.org/jira/browse/OFBIZ-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470482 ]
Scott Gray commented on OFBIZ-691: ---------------------------------- I haven't looked at this patch, but I would rather not use a table. If a quick fix is desired, I can add a style to the image tag that does have vertical-align: middle like tabupcenter or tabdowncenter, even though they contain other style information it's hidden behind the image anyway. > Fix the layout problem with the recent Product image patch > ---------------------------------------------------------- > > Key: OFBIZ-691 > URL: https://issues.apache.org/jira/browse/OFBIZ-691 > Project: OFBiz (The Open for Business Project) > Issue Type: Sub-task > Reporter: Adrian Crum > Assigned To: David E. Jones > Priority: Trivial > Attachments: product_img.patch > > > This is a good example of why some things are handled better in ftl files. > In the absence of a comprehensive style sheet, vertical alignment can be > achieved in tables - so the HTML elements need to be put in tables. The > attached patch demonstrates how to solve the problem, but it's not a complete > solution. I don't know where $labelTitleProperty is defined, so I don't know > how to make it work in this patch. Anyways, I hope this helps. > Btw, I removed the sizing properties from the image element. You might as > well see the small image actual size - in case it needs to be resized or > something. > This layout problem will be solved ultimately with the UI refactoring. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.