You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/04/20 11:39:08 UTC

[jira] Created: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Add support for true size limits, rather than preferred size limits
-------------------------------------------------------------------

                 Key: PIVOT-473
                 URL: https://issues.apache.org/jira/browse/PIVOT-473
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
            Reporter: Greg Brown
             Fix For: 2.0


Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.


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


[jira] Commented: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864291#action_12864291 ] 

Noel Grandin commented on PIVOT-473:
------------------------------------

See also PIVOT-433. 

This is going to have similar problems where the true-size limits will conflict with relative-sizing type layouts. 

We should define one consistent approach to resolving these conflicts so we have one set of rules for handling the conflicts everywhere.

> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 2.0
>
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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


[jira] Updated: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-473:
-----------------------------

    Fix Version/s: 2.0
                       (was: 1.5)

Moving this to 2.0 since it is best tackled along with a L&F update.


> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 2.0
>
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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


[jira] Closed: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown closed PIVOT-473.
----------------------------

    Fix Version/s:     (was: 2.0)
       Resolution: Invalid

> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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


[jira] Commented: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881890#action_12881890 ] 

Greg Brown commented on PIVOT-473:
----------------------------------

This may actually be best implemented as an extension of the current behavior. If a preferred dimension exceeds a limit, the other preferred dimension can be recalculated based on the bounded value. The primary challenge is in determining which dimension takes precedence. Components (or skins, or both) would need to report a layout disposition (i.e. an orientation) that could be used for this purpose.



> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 2.0
>
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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


[jira] Updated: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-473:
-----------------------------

    Fix Version/s: 1.5
                       (was: 2.0)

> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 1.5
>
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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


[jira] Commented: (PIVOT-473) Add support for true size limits, rather than preferred size limits

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881735#action_12881735 ] 

Greg Brown commented on PIVOT-473:
----------------------------------

The preferred size limit properties have been replaced with size limits. As in previous versions, TerraFrameSkin and TerraSplitPaneSkin respect these properties, but other containers have not yet been updated to do so. Containers that should support size limits are:

BoxPane
FlowPane
Form
GridPane
TablePane


> Add support for true size limits, rather than preferred size limits
> -------------------------------------------------------------------
>
>                 Key: PIVOT-473
>                 URL: https://issues.apache.org/jira/browse/PIVOT-473
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Greg Brown
>             Fix For: 2.0
>
>
> Preferred size limits don't take constraints into account. Replace them with true size limits that will be respected by containers that are capable of doing so.

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