You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Noel Grandin (JIRA)" <ji...@apache.org> on 2009/04/09 20:38:12 UTC

[jira] Created: (PIVOT-68) Alignment.JUSTIFY improvements

Alignment.JUSTIFY improvements 
-------------------------------

                 Key: PIVOT-68
                 URL: https://issues.apache.org/jira/browse/PIVOT-68
             Project: Pivot
          Issue Type: Improvement
            Reporter: Noel Grandin


HorizontalAlignment.JUSTIFY and VerticalAlignment.JUSTIFY should be better documented.
Also, components using these enums that do not support JUSTIFY should throw an IllegalArgumentException

>From Greg Brown: It means stretch the contents to fill the available space. You are correct that it isn't relevant to all components. Components that don't support it should throw.

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


[jira] Resolved: (PIVOT-68) Alignment.JUSTIFY improvements

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

Todd Volkert resolved PIVOT-68.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

I applied the patch - thanks Noel.

> Alignment.JUSTIFY improvements 
> -------------------------------
>
>                 Key: PIVOT-68
>                 URL: https://issues.apache.org/jira/browse/PIVOT-68
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Noel Grandin
>             Fix For: 1.2
>
>         Attachments: patch-justify.txt
>
>
> HorizontalAlignment.JUSTIFY and VerticalAlignment.JUSTIFY should be better documented.
> Also, components using these enums that do not support JUSTIFY should throw an IllegalArgumentException
> From Greg Brown: It means stretch the contents to fill the available space. You are correct that it isn't relevant to all components. Components that don't support it should throw.

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


[jira] Updated: (PIVOT-68) Alignment.JUSTIFY improvements

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

Noel Grandin updated PIVOT-68:
------------------------------

    Attachment: patch-justify.txt

> Alignment.JUSTIFY improvements 
> -------------------------------
>
>                 Key: PIVOT-68
>                 URL: https://issues.apache.org/jira/browse/PIVOT-68
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Noel Grandin
>         Attachments: patch-justify.txt
>
>
> HorizontalAlignment.JUSTIFY and VerticalAlignment.JUSTIFY should be better documented.
> Also, components using these enums that do not support JUSTIFY should throw an IllegalArgumentException
> From Greg Brown: It means stretch the contents to fill the available space. You are correct that it isn't relevant to all components. Components that don't support it should throw.

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