You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2007/02/06 09:10:06 UTC

[jira] Commented: (OFBIZ-691) Fix the layout problem with the recent Product image patch

    [ https://issues.apache.org/jira/browse/OFBIZ-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470471 ] 

Adrian Crum commented on OFBIZ-691:
-----------------------------------

The point is, Anil and Scott couldn't get the image to appear the way they wanted. I'm offering a "hint" as to how the layout issue can be solved short term. I - like others - am busy working on other things. So, someone else can fill in the missing piece.

If you have been monitoring the dev mailing list, then you would be well aware that I'm aware of the future of OFBiz's UI layout - since you suggested I "champion" the effort. Can't we accept a temporary solution to the problem until the resources are available to solve it long term? (IE table-less layout).


> 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.