shoes/shoes4 — pull request #749 by jasonrclark (2014-06-07 06:33:21+00:00)
Title: Handling for text centering

:warning: WIP :warning:

This PR will get text centering working with the simple scheme outlined at https://github.com/shoes/shoes4/issues/522#issuecomment-44852358:

Primary algorithm:
- [x] Centered text consumes the full containing width of the parent element it is placed in
- [ ] If text isn't the first thing on a given line, bump down to a new line then consume it entirely.

Other tasks to make sure about:
- [ ] Margins are respected on centered text
- [ ] Improve fitting tests as possible (noticed that they're a bit terse and cryptic coming back to them now, and don't express things that can actually exercise what I want about the centering)
- [ ] Test with @PragTob presentation Shoes app