[fxruby-users] Multiline text widget with text wrap without scroll bars?
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> 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> 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> fxruby-users mailing list
LJ> fxruby-users at rubyforge.org
Ralph mailto:ralphs at dos32.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fxruby-users