#14020: interact with layout is broken
------------------------+---------------------------------------------------
   Reporter:  novoselt  |             Owner:  jason, mpatel, was
       Type:  defect    |            Status:  new               
   Priority:  major     |         Milestone:  sage-5.7          
  Component:  notebook  |          Keywords:  interact          
Work issues:            |   Report Upstream:  N/A               
  Reviewers:            |           Authors:                    
  Merged in:            |      Dependencies:                    
   Stopgaps:            |  
------------------------+---------------------------------------------------
 Consider this example:
 {{{
 @interact(layout={
 "top": [
 ["u_lines"],
 ["v_lines"],
 ]
 })
 def _(
       u_lines=slider([1..50], default=10, label=r"$u$-lines:",
 display_value=False),
       v_lines=slider([1..50], default=10, label=r"$v$-lines:",
 display_value=False),
       ):
     print u_lines, v_lines
 }}}
 With 5.7.beta1 (and I believe the problem existed for a while):
  * The vertical spacing between elements is HUGE - if I remove layout
 (which is supposed to reproduce default placement here anyway), it is much
 more reasonable. This makes it next to impossible to create interacts to
 show in class that will have all controls and graphs on one screen in a
 reasonable size.
  * Math is not processed in labels. Again, everything is OK without
 layout.
  * Values of sliders are not actually updated - this is due to
 `display_value=False` with or without layout.

 In Cell Server there are no issues with layout, but `display_value=False`
 does not work - the value is still shown.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14020>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to