click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A. (JIRA)" <>
Subject [jira] Commented: (CLK-506) Smarter 2 column layout
Date Sat, 28 Mar 2009 00:06:50 GMT


Adrian A. commented on CLK-506:

> ...when adding Controls you can specify their width (colspan). 
This has slipped me somehow. 'Width' is different than colspan, so how can I set the colspan
for a control?

> You also have CSS available to fine tune the layout. 
Yes, but in commercial webapplications with many screens this is not realistic.

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

You are totally right. But there should also be very good defaults. For two columns the default
behavior just doesn't looks right. This is only visible if you try my patch (the original
FormProperties example has too few fields to make this visible - but non-trivial forms have
more fields).

> Smarter 2 column layout
> -----------------------
>                 Key: CLK-506
>                 URL:
>             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
> 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
> Thank you,
> A.

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

View raw message