You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Adrian A. (JIRA)" <ji...@apache.org> on 2009/03/27 12:44:51 UTC
[jira] Created: (CLK-506) Smarter 2 column layout
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.
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.
[jira] Updated: (CLK-506) Smarter 2 column layout
Posted by "Adrian A. (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian A. updated CLK-506:
--------------------------
Attachment: FromProperties.diff
Patch with added more fields to see the layout problem better when using two columns.
> 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.
[jira] Commented: (CLK-506) Smarter 2 column layout
Posted by "Adrian A. (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690149#action_12690149 ]
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: 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.
[jira] Commented: (CLK-506) Smarter 2 column layout
Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
[ 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.