[lively-kernel] 2-D scrolling (Daniel Ingalls)

Robert Krahn robert.krahn at gmail.com
Thu Apr 19 17:06:23 CEST 2012


Hi, Hak -- 

You can now use lively.morphic.Morph>>setClipMode.
It either supports a string as argument ("visible", "hidden", "auto", "scroll") or an object with a "x" and/or "y" property that is a string  equal to one of the above.

Example:
morph.setClipMode('scroll'); // scrollbars appear everywhere morph.setClipMode({x: 'scroll', y: 'hidden'}); // only horizontal scrollbar

Best,
Robert


On Monday, April 2, 2012 at 3:25 PM, Kim, Hakwoo wrote: 
> Hello,
> 
> Is there a way to show only vertical (or horizontal) scroll(not both scrolls)?
> 
> I tried this.beClip(true) but it show both scrolls.
> 
> Thanks
> 
> Regards,
> 
> Hak
> 
> -----Original Message-----
> From: lively-kernel-bounces at hpi.uni-potsdam.de [mailto:lively-kernel-bounces at hpi.uni-potsdam.de] On Behalf Of lively-kernel-request at hpi.uni-potsdam.de (mailto:lively-kernel-request at hpi.uni-potsdam.de)
> Sent: Monday, April 02, 2012 5:46 AM
> To: lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> Subject: lively-kernel Digest, Vol 25, Issue 1
> 
> Send lively-kernel mailing list submissions to
> lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> or, via email, send a message with subject or body 'help' to
> lively-kernel-request at hpi.uni-potsdam.de (mailto:lively-kernel-request at hpi.uni-potsdam.de)
> 
> You can reach the person managing the list at
> lively-kernel-owner at hpi.uni-potsdam.de (mailto:lively-kernel-owner at hpi.uni-potsdam.de)
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lively-kernel digest..."
> 
> 
> Today's Topics:
> 
> 1. 2-D scrolling (Daniel Ingalls)
> 2. Re: 2-D scrolling (Jens Lincke)
> 3. Lively Kernel registration errors? (Andy Marks)
> 4. Re: Lively Kernel registration errors? (Robert Krahn)
> 5. Re: Lively Kernel registration errors? (Robert Krahn)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 1 Apr 2012 21:57:10 -0700
> From: Daniel Ingalls <danhhingalls at gmail.com (mailto:danhhingalls at gmail.com)>
> To: "lively-kernel(mailman)" <lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)>
> Subject: [lively-kernel] 2-D scrolling
> Message-ID: <B1D6C9A4-9B7E-46D6-A4FD-B254AC5D11A5 at gmail.com (mailto:B1D6C9A4-9B7E-46D6-A4FD-B254AC5D11A5 at gmail.com)>
> Content-Type: text/plain; charset="us-ascii"
> 
> Folks -
> 
> What's the simplest way to make a morph (such as a text), or maybe a whole panel with stuff on it, scrollable both horizontally and vertically. I know this must be simple, but I'm not finding a recommended approach.
> 
> Thanks
> 
> - Dan
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 2 Apr 2012 07:52:40 +0200
> From: Jens Lincke <jens.lincke at hpi.uni-potsdam.de (mailto:jens.lincke at hpi.uni-potsdam.de)>
> To: Dan Ingalls <danhhingalls at gmail.com (mailto:danhhingalls at gmail.com)>
> Cc: "lively-kernel\(mailman\)" <lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)>
> Subject: Re: [lively-kernel] 2-D scrolling
> Message-ID: <C4265555-C9C9-4E44-96FA-993E1BD6393A at hpi.uni-potsdam.de (mailto:C4265555-C9C9-4E44-96FA-993E1BD6393A at hpi.uni-potsdam.de)>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi, Dan
> 
> open inspector an call this.beClip(true)
> 
> Best,
> Jens
> 
> Am 02.04.2012 um 06:57 schrieb Dan Ingalls <danhhingalls at gmail.com (mailto:danhhingalls at gmail.com)>:
> 
> > Folks -
> > 
> > What's the simplest way to make a morph (such as a text), or maybe a whole panel with stuff on it, scrollable both horizontally and vertically. I know this must be simple, but I'm not finding a recommended approach.
> > 
> > Thanks
> > 
> > - Dan
> > _______________________________________________
> > lively-kernel mailing list
> > lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> > http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> > 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 2 Apr 2012 14:51:31 +0800
> From: Andy Marks <amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)>
> To: <lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)>
> Subject: [lively-kernel] Lively Kernel registration errors?
> Message-ID:
> <CAJDJPs3FakLJzbuRqT0ZRcWX3MU3d9y_4y67G9NoEUG0yjEzXA at mail.gmail.com (mailto:CAJDJPs3FakLJzbuRqT0ZRcWX3MU3d9y_4y67G9NoEUG0yjEzXA at mail.gmail.com)>
> Content-Type: text/plain; charset="windows-1252"
> 
> Hi folks,
> 
> Just trying to register and have been getting (over the last 2 days)
> consistent error messages from Trac along the lines of:
> 
> ---
> Oops?
> *Trac detected an internal error:*
> 
> IOError: [Errno socket error] [Errno 104] Connection reset by peer
> 
> There was an internal error in Trac. It is recommended that you notify your
> local Trac administrator with the information needed to reproduce the issue.
> 
> To that end, you could a ticket.
> 
> The action that triggered the error was:
> 
> GET: /register
> 
> TracGuide <http://lively-kernel.org/trac/wiki/TracGuide> ? The Trac User
> and Administration Guide
> ---
> 
> Can anyone assist?
> 
> Cheers,
> Andy
> 
> *Andy Marks*
> *Technical Principal*
> ThoughtWorks Singapore
> *email*: amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)
> *mobile*: +65 9788 0259
> *web*: www.thoughtworks.com (http://www.thoughtworks.com)
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20120402/83135d0b/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 2 Apr 2012 11:32:13 +0200
> From: Robert Krahn <robert.krahn at gmail.com (mailto:robert.krahn at gmail.com)>
> To: Andy Marks <amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)>
> Cc: lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> Subject: Re: [lively-kernel] Lively Kernel registration errors?
> Message-ID: <CC30058F-E825-4FE8-84E0-8799E25C643F at gmail.com (mailto:CC30058F-E825-4FE8-84E0-8799E25C643F at gmail.com)>
> Content-Type: text/plain; charset="windows-1252"
> 
> Hi, Andy --
> 
> thanks for reporting, I will look into it.
> 
> Best,
> Robert
> 
> 
> On Apr 2, 2012, at 8:51 AM, Andy Marks wrote:
> 
> > Hi folks,
> > 
> > Just trying to register and have been getting (over the last 2 days) consistent error messages from Trac along the lines of:
> > 
> > ---
> > Oops?
> > Trac detected an internal error:
> > IOError: [Errno socket error] [Errno 104] Connection reset by peer
> > There was an internal error in Trac. It is recommended that you notify your local Trac administrator with the information needed to reproduce the issue.
> > 
> > To that end, you could a ticket.
> > 
> > The action that triggered the error was:
> > 
> > GET: /register
> > TracGuide ? The Trac User and Administration Guide
> > 
> > ---
> > 
> > Can anyone assist?
> > 
> > Cheers,
> > Andy
> > 
> > Andy Marks
> > Technical Principal
> > ThoughtWorks Singapore
> > email: amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)
> > mobile: +65 9788 0259
> > web: www.thoughtworks.com (http://www.thoughtworks.com)
> > 
> > _______________________________________________
> > lively-kernel mailing list
> > lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> > http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> > 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20120402/2bc350da/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 2 Apr 2012 11:46:16 +0200
> From: Robert Krahn <robert.krahn at gmail.com (mailto:robert.krahn at gmail.com)>
> To: Andy Marks <amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)>
> Cc: lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> Subject: Re: [lively-kernel] Lively Kernel registration errors?
> Message-ID: <03477DB1-3351-4787-8329-2E78930F156E at gmail.com (mailto:03477DB1-3351-4787-8329-2E78930F156E at gmail.com)>
> Content-Type: text/plain; charset="windows-1252"
> 
> Looks like the captchas are making trouble. I deactivated them for now and registration works again.
> 
> Best,
> Robert
> 
> 
> On Apr 2, 2012, at 8:51 AM, Andy Marks wrote:
> 
> > Hi folks,
> > 
> > Just trying to register and have been getting (over the last 2 days) consistent error messages from Trac along the lines of:
> > 
> > ---
> > Oops?
> > Trac detected an internal error:
> > IOError: [Errno socket error] [Errno 104] Connection reset by peer
> > There was an internal error in Trac. It is recommended that you notify your local Trac administrator with the information needed to reproduce the issue.
> > 
> > To that end, you could a ticket.
> > 
> > The action that triggered the error was:
> > 
> > GET: /register
> > TracGuide ? The Trac User and Administration Guide
> > 
> > ---
> > 
> > Can anyone assist?
> > 
> > Cheers,
> > Andy
> > 
> > Andy Marks
> > Technical Principal
> > ThoughtWorks Singapore
> > email: amarks at thoughtworks.com (mailto:amarks at thoughtworks.com)
> > mobile: +65 9788 0259
> > web: www.thoughtworks.com (http://www.thoughtworks.com)
> > 
> > _______________________________________________
> > lively-kernel mailing list
> > lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> > http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> > 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20120402/d51b437b/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> 
> 
> End of lively-kernel Digest, Vol 25, Issue 1
> ********************************************
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de (mailto:lively-kernel at hpi.uni-potsdam.de)
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20120419/93d196f4/attachment-0001.html>


More information about the lively-kernel mailing list