Quantcast

output cell in html notebook with limited height and width with scroll bar

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

output cell in html notebook with limited height and width with scroll bar

Chen-Shan Chin
Hi, All:

Does it make sense to support output cell with some pre-specified sizes for the output cell? If the output is bigger than the size specified, using the scroll bar so a user can see the full results using finite space of the screen real estate.  This will make navigation of the code easier if the output is long.  Any thought about this?

I tried to hack the CSS a little by putting overflow: auto or overflow: scroll and the max-height property for the output cell.  It seems working well in Safari but not Firefox.  (The <pre> element in Firefox does not seem to respect the max-height property of its container.)

--Jason
_______________________________________________
IPython-dev mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: output cell in html notebook with limited height and width with scroll bar

Brian Granger-3
Yes, we need to think about the best way to size the output cells and
have them scroll.  Could you open a ticket for that?

On Wed, Apr 4, 2012 at 9:38 AM, Chen-Shan Chin <[hidden email]> wrote:

> Hi, All:
>
> Does it make sense to support output cell with some pre-specified sizes for the output cell? If the output is bigger than the size specified, using the scroll bar so a user can see the full results using finite space of the screen real estate.  This will make navigation of the code easier if the output is long.  Any thought about this?
>
> I tried to hack the CSS a little by putting overflow: auto or overflow: scroll and the max-height property for the output cell.  It seems working well in Safari but not Firefox.  (The <pre> element in Firefox does not seem to respect the max-height property of its container.)
>
> --Jason
> _______________________________________________
> IPython-dev mailing list
> [hidden email]
> http://mail.scipy.org/mailman/listinfo/ipython-dev



--
Brian E. Granger
Cal Poly State University, San Luis Obispo
[hidden email] and [hidden email]
_______________________________________________
IPython-dev mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-dev
epi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: output cell in html notebook with limited height and width with scroll bar

epi
I don't know if on topic,  but the pandas feature to print out the 'dataframe' in a html table
has already this capabilities, e.g.. if the output is long it add a scrollbar in the cell where the output is printed out.



Il giorno Apr 4, 2012, alle ore 12:41 PM, Brian Granger ha scritto:

> Yes, we need to think about the best way to size the output cells and
> have them scroll.  Could you open a ticket for that?
>
> On Wed, Apr 4, 2012 at 9:38 AM, Chen-Shan Chin <[hidden email]> wrote:
>> Hi, All:
>>
>> Does it make sense to support output cell with some pre-specified sizes for the output cell? If the output is bigger than the size specified, using the scroll bar so a user can see the full results using finite space of the screen real estate.  This will make navigation of the code easier if the output is long.  Any thought about this?
>>
>> I tried to hack the CSS a little by putting overflow: auto or overflow: scroll and the max-height property for the output cell.  It seems working well in Safari but not Firefox.  (The <pre> element in Firefox does not seem to respect the max-height property of its container.)
>>
>> --Jason
>> _______________________________________________
>> IPython-dev mailing list
>> [hidden email]
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> [hidden email] and [hidden email]
> _______________________________________________
> IPython-dev mailing list
> [hidden email]
> http://mail.scipy.org/mailman/listinfo/ipython-dev

_______________________________________________
IPython-dev mailing list
[hidden email]
http://mail.scipy.org/mailman/listinfo/ipython-dev
Loading...