Changeset 1258 for trunk/gui/scripts/editor.tcl
- Timestamp:
- Dec 10, 2008, 12:48:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/editor.tcl
r440 r1258 285 285 if {$h+$_loc(y) >= [winfo screenheight $e]} { 286 286 set h [expr {[winfo screenheight $e]-$_loc(y)}] 287 } 288 289 wm geometry $itk_component(hull) "${w}x${h}+$_loc(x)+$_loc(y)" 287 } 288 # Temporary fix to prevent Opps. Don't deal with negative dimensions. 289 if { $w <= 0 || $h <= 0 } { 290 wm geometry $itk_component(hull) "+$_loc(x)+$_loc(y)" 291 } else { 292 wm geometry $itk_component(hull) "${w}x${h}+$_loc(x)+$_loc(y)" 293 } 290 294 } 291 295
Note: See TracChangeset
for help on using the changeset viewer.