[Seaside] Magritte : text area size with MAMemoDescription
Nicolas Petton
petton.nicolas at gmail.com
Sat Jun 23 18:04:43 UTC 2007
On Sat, Jun 23, 2007 at 07:54:09PM +0200, Lukas Renggli wrote:
> >I'm making a small application with Seaside.
> >I use Magritte to describe and build forms.
> >I saw I could change the line count of a text area build with
> >MAMemoDescription with the method #lineCount: , but how can I change the
> >width ?
>
> CSS is the preferred way.
>
> If really unavoidable you can also change the attributes of the
> generated textarea like this:
>
> descriptionContents
> | desc |
> desc := MAMemoDescription new.
> ...
> desc attributes at: 'cols' put: 80.
> ...
> ^ desc
>
> Lukas
Thank you Lukas,
How can I use CSS with Magritte ? Should I put the css in the #style
method of my component ?
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
--
___
/ _ \ .:! DEBIAN GNU/Linux !:.
| / |
| \__/ The universal OS
\
--------------------------------
Ma clé GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070623/2ab81f02/attachment.pgp
More information about the Seaside
mailing list