Ignore:
Timestamp:
May 7, 2015, 2:17:22 PM (9 years ago)
Author:
mmh
Message:

Revert ScreenSize? not that it is fixed in Tk. Rewrite balloon code to get the best possible placement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uq/gui/scripts/dropdown.tcl

    r5315 r5468  
    1 # -*- mode: tcl; indent-tabs-mode: nil -*-
     1# -*- mode: tcl; indent-tabs-mode: nil -*- 
    22# ----------------------------------------------------------------------
    33#  COMPONENT: dropdown - base class for drop-down panels
     
    8484    set w [winfo width $itk_component(hull)]
    8585    set h [winfo height $itk_component(hull)]
    86     # set sw [winfo screenwidth $itk_component(hull)]
    87     # set sh [winfo screenheight $itk_component(hull)]
    88     foreach {sw sh} [Rappture::ScreenSize] break
     86    set sw [winfo screenwidth $itk_component(hull)]
     87    set sh [winfo screenheight $itk_component(hull)]
    8988
    9089    if {[regexp {^@([0-9]+),([0-9]+)$} $where match x y]} {
Note: See TracChangeset for help on using the changeset viewer.