FROM : Ricky Sharp
DATE : Wed Jul 26 03:05:02 2006
On Jul 25, 2006, at 7:27 PM, Jerry Krinock wrote:
> on 06/07/25 16:41, Nathan Herring at <email_removed> wrote:
>
>> Despite IB showing the attribute Line Break: “Word Wrap” in the
>> inspector,
>> and me trying to manually hack it by calling [[checkbox cell]
>> setWraps:TRUE], the text in my check box does not wrap. Am I missing
>> something?
>>
>> I’m tempted to just have a title-less textbox with an adjacent
>> text field if
>> this isn’t easily solvable.
>
> Yep. I've tried and tried, but could never get this to work. So
> that's
> what I do, set the title to @"" and put an NSTextField adjacent to it.
>
> I think I read somewhere that the Big Apple's Human Interface Gurus
> don't
> like multi-line checkbox titles. So, that's probably why they make
> it hard
> for us.
Keep in mind the following things when using this NSTextField solution:
(1) Users will need to click exactly on the checkbox.
(2) Assistive apps will have grief in that the control's title is an
empty string. As a workaround, you can set up the checkbox's
AXTitleUIElement to be the NSTextField (you can do so in the
Accessbility panel of the checkbox's inspector in IB).
(3) The VoiceOver cursor will only render itself around the checkbox
image (and not the corresponding text).
(4) VoiceOver does speak the control correctly (if you've wired up
the AXTitleUIElement in #2 above), but the displayed text is a bit
strange:
Given...
[ ] Multi
line
...the VoiceOver displayed text will be: Multi * line * unchecked
check box
here, the asterisks are actually a bullet character; not sure why it
uses them.
Compare this to...
[ ] Single line
...which gives: Single line unchecked check box.
Now, having said all of that, the solution to a proper multi-line
checkbox is to use option-Return when editing the item's text. The
clickable area and VoiceOver cursor are no longer an issue. The
VoiceOver text will still inject the bullet character between lines
of text. I should read up more about that, I'm thinking it's some
designation that the text is on multiple lines.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Wed Jul 26 03:05:02 2006
On Jul 25, 2006, at 7:27 PM, Jerry Krinock wrote:
> on 06/07/25 16:41, Nathan Herring at <email_removed> wrote:
>
>> Despite IB showing the attribute Line Break: “Word Wrap” in the
>> inspector,
>> and me trying to manually hack it by calling [[checkbox cell]
>> setWraps:TRUE], the text in my check box does not wrap. Am I missing
>> something?
>>
>> I’m tempted to just have a title-less textbox with an adjacent
>> text field if
>> this isn’t easily solvable.
>
> Yep. I've tried and tried, but could never get this to work. So
> that's
> what I do, set the title to @"" and put an NSTextField adjacent to it.
>
> I think I read somewhere that the Big Apple's Human Interface Gurus
> don't
> like multi-line checkbox titles. So, that's probably why they make
> it hard
> for us.
Keep in mind the following things when using this NSTextField solution:
(1) Users will need to click exactly on the checkbox.
(2) Assistive apps will have grief in that the control's title is an
empty string. As a workaround, you can set up the checkbox's
AXTitleUIElement to be the NSTextField (you can do so in the
Accessbility panel of the checkbox's inspector in IB).
(3) The VoiceOver cursor will only render itself around the checkbox
image (and not the corresponding text).
(4) VoiceOver does speak the control correctly (if you've wired up
the AXTitleUIElement in #2 above), but the displayed text is a bit
strange:
Given...
[ ] Multi
line
...the VoiceOver displayed text will be: Multi * line * unchecked
check box
here, the asterisks are actually a bullet character; not sure why it
uses them.
Compare this to...
[ ] Single line
...which gives: Single line unchecked check box.
Now, having said all of that, the solution to a proper multi-line
checkbox is to use option-Return when editing the item's text. The
clickable area and VoiceOver cursor are no longer an issue. The
VoiceOver text will still inject the bullet character between lines
of text. I should read up more about that, I'm thinking it's some
designation that the text is on multiple lines.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Nathan Herring | Jul 26, 01:41 | |
| Jerry Krinock | Jul 26, 02:27 | |
| Ricky Sharp | Jul 26, 03:05 |






Cocoa mail archive

