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/09/14 16:31:34 UTC

[jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

     [ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown reopened PIVOT-565:
------------------------------

      Assignee: Greg Brown

> Use TextArea in default tooltip rather than Label
> -------------------------------------------------
>
>                 Key: PIVOT-565
>                 URL: https://issues.apache.org/jira/browse/PIVOT-565
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 2.0
>
>
> This would allow callers to more easily specify tooltips that contain line breaks.

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


RE: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
That sound good, yes.  

Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA  +1 650-587-5596 | fax: +1 650-587-5550

-----Original Message-----
From: Greg Brown [mailto:gkbrown@mac.com] 
Sent: Tuesday, September 14, 2010 9:00 AM
To: dev@pivot.apache.org
Subject: Re: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

Actually, I just prototyped this and I think that a custom body might be the right way to go. Prompt and Alert messages are generally meant to be short. They are displayed in bold and are sort of like a "subject" of the prompt. The body is where you would provide additional detail and would be more likely to want to display multiple paragraphs.

Maybe a better alternative would be to add another static prompt()/alert() utility method that takes a string representing the body? This method could create a TextArea as the actual body component and set the text on that.


On Sep 14, 2010, at 10:44 AM, Greg Brown wrote:

> Seems reasonable. We could do the same with Alert.
> 
> On Sep 14, 2010, at 10:38 AM, Roger L. Whitcomb wrote:
> 
>> Hmm, I was thinking about this as a possible enhancement, also, to the Prompt class, so that a simple multi-line message wouldn't require creating your own body.  Any thoughts about that??
>> 
>> Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA  +1 650-587-5596 | fax: +1 650-587-5550
>> 
>> -----Original Message-----
>> From: Greg Brown (JIRA) [mailto:jira@apache.org] 
>> Sent: Tuesday, September 14, 2010 7:32 AM
>> To: dev@pivot.apache.org
>> Subject: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label
>> 
>> 
>>    [ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>> 
>> Greg Brown reopened PIVOT-565:
>> ------------------------------
>> 
>>     Assignee: Greg Brown
>> 
>>> Use TextArea in default tooltip rather than Label
>>> -------------------------------------------------
>>> 
>>>               Key: PIVOT-565
>>>               URL: https://issues.apache.org/jira/browse/PIVOT-565
>>>           Project: Pivot
>>>        Issue Type: Improvement
>>>        Components: wtk
>>>          Reporter: André Thieme
>>>          Assignee: Greg Brown
>>>          Priority: Minor
>>>           Fix For: 2.0
>>> 
>>> 
>>> This would allow callers to more easily specify tooltips that contain line breaks.
>> 
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>> 
> 


Re: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

Posted by Greg Brown <gk...@mac.com>.
Actually, I just prototyped this and I think that a custom body might be the right way to go. Prompt and Alert messages are generally meant to be short. They are displayed in bold and are sort of like a "subject" of the prompt. The body is where you would provide additional detail and would be more likely to want to display multiple paragraphs.

Maybe a better alternative would be to add another static prompt()/alert() utility method that takes a string representing the body? This method could create a TextArea as the actual body component and set the text on that.


On Sep 14, 2010, at 10:44 AM, Greg Brown wrote:

> Seems reasonable. We could do the same with Alert.
> 
> On Sep 14, 2010, at 10:38 AM, Roger L. Whitcomb wrote:
> 
>> Hmm, I was thinking about this as a possible enhancement, also, to the Prompt class, so that a simple multi-line message wouldn't require creating your own body.  Any thoughts about that??
>> 
>> Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA  +1 650-587-5596 | fax: +1 650-587-5550
>> 
>> -----Original Message-----
>> From: Greg Brown (JIRA) [mailto:jira@apache.org] 
>> Sent: Tuesday, September 14, 2010 7:32 AM
>> To: dev@pivot.apache.org
>> Subject: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label
>> 
>> 
>>    [ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>> 
>> Greg Brown reopened PIVOT-565:
>> ------------------------------
>> 
>>     Assignee: Greg Brown
>> 
>>> Use TextArea in default tooltip rather than Label
>>> -------------------------------------------------
>>> 
>>>               Key: PIVOT-565
>>>               URL: https://issues.apache.org/jira/browse/PIVOT-565
>>>           Project: Pivot
>>>        Issue Type: Improvement
>>>        Components: wtk
>>>          Reporter: André Thieme
>>>          Assignee: Greg Brown
>>>          Priority: Minor
>>>           Fix For: 2.0
>>> 
>>> 
>>> This would allow callers to more easily specify tooltips that contain line breaks.
>> 
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>> 
> 


Re: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

Posted by Greg Brown <gk...@mac.com>.
Seems reasonable. We could do the same with Alert.

On Sep 14, 2010, at 10:38 AM, Roger L. Whitcomb wrote:

> Hmm, I was thinking about this as a possible enhancement, also, to the Prompt class, so that a simple multi-line message wouldn't require creating your own body.  Any thoughts about that??
> 
> Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA  +1 650-587-5596 | fax: +1 650-587-5550
> 
> -----Original Message-----
> From: Greg Brown (JIRA) [mailto:jira@apache.org] 
> Sent: Tuesday, September 14, 2010 7:32 AM
> To: dev@pivot.apache.org
> Subject: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label
> 
> 
>     [ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Greg Brown reopened PIVOT-565:
> ------------------------------
> 
>      Assignee: Greg Brown
> 
>> Use TextArea in default tooltip rather than Label
>> -------------------------------------------------
>> 
>>                Key: PIVOT-565
>>                URL: https://issues.apache.org/jira/browse/PIVOT-565
>>            Project: Pivot
>>         Issue Type: Improvement
>>         Components: wtk
>>           Reporter: André Thieme
>>           Assignee: Greg Brown
>>           Priority: Minor
>>            Fix For: 2.0
>> 
>> 
>> This would allow callers to more easily specify tooltips that contain line breaks.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 


RE: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label

Posted by "Roger L. Whitcomb" <Ro...@ingres.com>.
Hmm, I was thinking about this as a possible enhancement, also, to the Prompt class, so that a simple multi-line message wouldn't require creating your own body.  Any thoughts about that??

Roger Whitcomb | Architect, Engineering | Roger.Whitcomb@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA  +1 650-587-5596 | fax: +1 650-587-5550

-----Original Message-----
From: Greg Brown (JIRA) [mailto:jira@apache.org] 
Sent: Tuesday, September 14, 2010 7:32 AM
To: dev@pivot.apache.org
Subject: [jira] Reopened: (PIVOT-565) Use TextArea in default tooltip rather than Label


     [ https://issues.apache.org/jira/browse/PIVOT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown reopened PIVOT-565:
------------------------------

      Assignee: Greg Brown

> Use TextArea in default tooltip rather than Label
> -------------------------------------------------
>
>                 Key: PIVOT-565
>                 URL: https://issues.apache.org/jira/browse/PIVOT-565
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: André Thieme
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 2.0
>
>
> This would allow callers to more easily specify tooltips that contain line breaks.

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