浏览代码

Set weights on .overview, not .

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32452 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 年之前
父节点
当前提交
799eef5ae4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      scripts/d.rast.edit/d.rast.edit.tcl

+ 2 - 2
scripts/d.rast.edit/d.rast.edit.tcl

@@ -154,8 +154,8 @@ proc create_overview {} {
 	grid .overview.canvas .overview.yscroll -sticky nsew
 	grid .overview.xscroll -sticky nsew
 
-	grid rowconfigure    . 0 -weight 1
-	grid columnconfigure . 0 -weight 1
+	grid rowconfigure    .overview 0 -weight 1
+	grid columnconfigure .overview 0 -weight 1
 
 	bind .overview.canvas <ButtonPress-1>   { set_window %x %y }
 	bind .overview.canvas <B1-Motion>       { set_window %x %y }