src/Tools/jEdit/src/pretty_tooltip.scala
changeset 72974 3afd293347cc
parent 71704 b9a5eb0f3b43
child 73340 0ffcad1f6130
equal deleted inserted replaced
72973:fc69884a6e5a 72974:3afd293347cc
   241 
   241 
   242   /* popup */
   242   /* popup */
   243 
   243 
   244   private val popup =
   244   private val popup =
   245   {
   245   {
   246     val screen = JEdit_Lib.screen_location(layered, location)
   246     val screen = GUI.screen_location(layered, location)
   247     val size =
   247     val size =
   248     {
   248     {
   249       val bounds = JEdit_Rendering.popup_bounds
   249       val bounds = JEdit_Rendering.popup_bounds
   250 
   250 
   251       val w_max = layered.getWidth min (screen.bounds.width * bounds).toInt
   251       val w_max = layered.getWidth min (screen.bounds.width * bounds).toInt