Forum: wxRuby help text display with wrapped text

Posted by Will Parsons (Guest)
on 2011-08-13 23:31
(Received via mailing list)
Hi,

I've been experimenting with wxruby for a bit, but am still a relative 
newcomer.
I find myself wanting to do something that I think should be pretty 
staight-
forward, but I can't quite figure out how do it from the documentation. 
I wish
to create a simple help screen, i.e., a simple window that pops up in 
response
to a menu selection or a hot-key and displays static text.  As far as I 
can see,
there doesn't seem to be a Dialog-derived class suitable for this.  I 
did try
using the MessageDialog class for this, but the problem is that the help 
text
is rather long, so I want the user to be able to resize the help window 
as
he (or she) wishes and have the displayed text wrap as appropriate to 
the size
of the window.  MessageDialog doesn't seem to allow this, so I get an 
oversized
help window with each paragraph displayed as a single line.  How can I 
achieve
what I want?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.