require 'tk’
root = TkRoot.new()
question = TkText.new(root).pack(‘fill’=>‘both’, ‘expand’=>true)
stats = TkLabel.new(root) { text ‘blah’; }.pack(‘anchor’=>‘w’)
answer = TkEntry.new(root).pack(‘fill’=>‘x’)
Tk.mainloop
The window elements seem to expand just fine, but when I shrink the
window back down, the TkText refuses to decrease its size at some
point. It is as if it thinks it must be a minimum of 10 lines or so.
TIA.