You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2010/07/11 12:14:50 UTC

[jira] Closed: (CLK-506) Smarter 2 column layout

     [ https://issues.apache.org/jira/browse/CLK-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink closed CLK-506.
-----------------------------

    Resolution: Won't Fix

This isn't feasible. Most forms uses CSS to fine tune the layout anyway. Have a look at [1] on how to create a custom layout and still use $form to render the form.

[1]: http://www.avoka.com/click-examples/form/contact-details.htm

> Smarter 2 column layout
> -----------------------
>
>                 Key: CLK-506
>                 URL: https://issues.apache.org/jira/browse/CLK-506
>             Project: Click
>          Issue Type: New Feature
>          Components: core
>            Reporter: Adrian A.
>         Attachments: FromProperties.diff
>
>
> Please make the auto-layout form in case of two columns to be smarter.
> Right now it has many "glitches" (basically it's not very commercial application friendly :) ) that can be better seen if the FormProperties example has some more fields (see the attached patch).
> Things that could be better/smarter for two columns:
> - it should put some space between the columns
> - it should take in consideration the different sizes of fields, especially for : 
>    - long textfields
>    - textareas in most cases (since they mostly take more place
>    - RadioGroup in horizontal layout
>   and span them on two columns (put only one control on a row if it's big) "colspan=2".
> I know that I could use my own layout, but just simply using $form is a too huge help :). 2Columns would do
>   most cases for commercial applications with more fields - if it were only a little smarter.
> Thank you,
> A.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.