[Chandler-dev] Multiline text field not correctly displayed

Ernesto Rivera rivera.ernesto at gmail.com
Wed Aug 9 03:58:19 PDT 2006


Hi,

I am doing some last changes to contacts' code before tomorrow's  
presentations.

I have this annoying issue with this 'RawVCard' that is displayed  
"squeezed" as text field instead of a text area (multiline text):

contactPersonRootBlocks = [...

detail.makeArea(
             parcel, "RawVCardArea",
             baseClass=RawVCardAreaBlock, # this makes the area  
conditionally visible
             height = 200,    # <-- didn't expanded the detail area  
either
             childrenBlocks=[
                 detail.makeEditor(  # displays as a text field  
instead of as a text area
                     parcel, 'RawVCard',
                     viewAttribute=u'rawVCard',
                     presentationStyle={
                         'lineStyleEnum': 'MultiLine',  #<-- this  
works the block is moved outside childrenBlocks
                         'format': 'contactRawVCardField'
                     },
                     height = 200 # doesn't seem to work
                 )
             ],
             position=0.951
         ).install(parcel),


The problem occurs on both alpha2 and 3. Also the the field displays  
correctly when outside the detail.makeArea, so the issue is only for  
text areas declared as childrenBlocks.

Any ideas?

Thanks,


Ernesto




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20060809/7f9d1f41/attachment.htm


More information about the chandler-dev mailing list