shoes/shoes4 — pull request #464 by jasonrclark (2013-10-27 05:00:19+00:00)
Title: Partial fix for TextBlock flowing

I was doing some investigation on #373 to better understand how flowing
and layout worked in Shoes.

In looking at it, I found that while we were [grabbing the calculated height](https://github.com/shoes/shoes4/blob/master/lib/shoes/swt/text_block.rb#L27-L31) of a
text block from the SWT side, we were not doing the same properly from the width,
and were tromping the value when `Shoes::TextBlock#set_size` was called.
See https://github.com/shoes/shoes4/blob/master/lib/shoes/text_block.rb#L51, and
note how it only deals with the `app` and `@parent`, not the `@gui` width.

This doesn't address flowing multi-line text blocks at all, so we definitely still
have more to do to get #373 right. However, this at least gets smaller blocks of
text flowing more like they did in Shoes 3.

Thoughts? Is this worthwhile in the face of having to revamp the `TextBlock`
flowing entirely before an the alpha release? Not attached to the changes at all, but
thought I'd put them out there since the experiment yielded some fruit.