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 2009/03/28 00:02:50 UTC

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

    [ https://issues.apache.org/jira/browse/CLK-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690144#action_12690144 ] 

Bob Schellink commented on CLK-506:
-----------------------------------

Form supports setting the number of columns and when adding Controls you can specify their width (colspan).

You also have CSS available to fine tune the layout.

By making Form too smart you start second guessing the user which leads to confusion.

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