src/Tools/Graphview/src/main_panel.scala
changeset 50478 ccfdd1f6cf10
parent 50475 8cc351df4a23
child 50491 0faaa279faee
equal deleted inserted replaced
50477:ffa18243a4e3 50478:ccfdd1f6cf10
    69           case _ =>
    69           case _ =>
    70         }
    70         }
    71       }
    71       }
    72     }
    72     }
    73     contents += Swing.RigidBox(new Dimension(10, 0))
    73     contents += Swing.RigidBox(new Dimension(10, 0))
       
    74     contents += new Library.Zoom_Box(percent => graph_panel.rescale(0.01 * percent))
       
    75 
       
    76     contents += Swing.RigidBox(new Dimension(10, 0))
    74     contents += new Button{
    77     contents += new Button{
    75       action = Action("Apply Layout"){
    78       action = Action("Apply Layout"){
    76         graph_panel.apply_layout()
    79         graph_panel.apply_layout()
    77       }
    80       }
    78     }
    81     }