[fxruby-users] Multiline text widget with text wrap without scroll bars?

Ralph Shnelvar ralphs at dos32.com
Wed Sep 8 22:25:04 EDT 2010


It isn't perfectly what I want ... but it got close.

Thank you ever so much!


Tuesday, September 7, 2010, 2:43:10 PM, you wrote:

LJ> On Tue, Sep 7, 2010 at 3:07 PM, Ralph Shnelvar <ralphs at dos32.com> wrote:

>> Does a multiline widget with text wrap capability exist that does not have scroll bars?

>> I attempted to set the visible attribute to the child scroll bars to false in an FXText tool .... but that does not seem to work.

LJ> The code for my first attempt, just seeing what an FXText with
LJ> wordwrap turned on looks like, is here:

LJ>     http://gist.github.com/569051

LJ> When I run this one, I don't get a horizontal scrollbar but I do see a
LJ> vertical one. So I looked at the API documentation and saw that FXText
LJ> is a subclass of FXScrollArea, then looked at that class'
LJ> documentation to see what its options are. The code for my second
LJ> attempt is here:

LJ>     http://gist.github.com/569058

LJ> The only difference here is in the options passed to FXText.new (I
LJ> mixed-in VSCROLLER_NEVER to turn off the vertical scrollbar). When I
LJ> run this version, I don't get either scrollbar.

LJ> Hope this helps,

LJ> Lyle
LJ> _______________________________________________
LJ> fxruby-users mailing list
LJ> fxruby-users at rubyforge.org
LJ> http://rubyforge.org/mailman/listinfo/fxruby-users

Best regards,
 Ralph                            mailto:ralphs at dos32.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20100908/3c592109/attachment.html>

More information about the fxruby-users mailing list