From: katiedhe@... (Dandan He) Date: 2002-07-09T14:45:48+09:00 Subject: Ruby/Tk, TkMessage Hello, I need to use a Ruby/Tk widget to display some read-only information, which can be multi-line. I need the widget to be displayed as a certain size (say, width=100, height=50) even when it doesn't have any text in it. I would use TkText if there is a way to make it read-only. I was trying to use TkMessage. But I don't know of a way to set its size. Following is my code: msgDisplay = TkMessage.new(lfrm2) do text "server messages " relief "sunken" width 100 #height 15 pack("side"=>"top", "padx"=>5, "pady"=>5) end Is there a way to achieve what I need to do? Can anyone point me to the right direction? Thanks very much, Dandan