I am interested in learning how to do this, but my knowledge of
javascript and css is weak.  If anyone can give pointers on what
exactly controls the spacing it would help.  Is it all in css.py or is
there anything in other files in /server/notebook that is relevant?
Would it be a command such as "padding:5px" in css.py?

This is a low priority request, so if its annoying to answer those
questions don't worry about it.

-Marshall

On Sep 12, 4:12 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> Timothy,
>
> Good work.  This is a step in the right direction.  Cool idea to use
> javascript instead of css.  I'm looking forward to a patch...
>
> On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > a) The button layout looks wonky in explorer -- what's up with that?
> > b) Seems to work everywhere else I've tested (not Safari) -- good job so 
> > far.
> > c) This would be much more useful if you sent a patch.
>
> > On Wed, 12 Sep 2007, Timothy Clemans wrote:
>
> > > I may have found a solution to this problem. At
> > >http://67.183.64.183/sage/I use Javascript to compute the height of
> > > the head div by adding up all the margin-tops, 1px for border and all
> > > the heights of the divs on the left and make the main area the height
> > > of the windows minus the height of the head. This happens on window
> > > resize and window onload.
>
> > > On 9/12/07, William Stein <[EMAIL PROTECTED]> wrote:
>
> > >> On 9/12/07, Marshall Hampton <[EMAIL PROTECTED]> wrote:
>
> > >>> I am very happy that the new notebook is more secure, and so I first
> > >>> want to thank everyone who worked on it.
>
> > >>> There is one thing that bothers me a lot: I treasure my screen real
> > >>> estate, and there is a large (about 1") gap between the useful stuff
> > >>> in the outer frame (the file menu, use/edit/text/etc) and the frame
> > >>> with the cells.  Is there a way to shrink that?
>
> > >> Yes, by appropriately rewriting some of the css that defines the page
> > >> in sage/notebook/server/css.py.
> > >> I wish somebody would do that and send me a patch.
>
> > >> Note that if you just shrink the space on your machine, it will actually
> > >> completely cover up all the controls on the top on many other machines.
> > >> It's very very system dependent.  Having extra space is the only 
> > >> reasonable
> > >> solution until somebody sits down and does this right.
>
> > >> William
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to