From: Hidetoshi NAGAI Date: 2006-05-25T16:52:55+09:00 Subject: Re: ruby tk grid question From: Jon Dean Subject: ruby tk grid question Date: Thu, 25 May 2006 11:31:45 +0900 Message-ID: > When > I set the grid loaction to column 1, row 1 it remains centered in the > page. I included "sticky => 'w' as an option to grid but it doesn't > seem to work. The code I used is below. Any reason why column 1 is in > the middle of the page when it is resized? Please read "THE GRID ALGORITHM" in the man of grid (man n grid). You'll have to set the proper values to 'weight' options of the columns (e.g. date.grid_columnconfigure(1, :weight=>1) ). -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)