joseph/Monocle — pull request #106 by joaosantos81 (2012-04-19 10:53:49+00:00)
Title: Zero width in marginal pannels

From my own tests, the width of marginal panels was always zero. Investigating this issue, I realized that setWidths function was using the method Math.floor. Since we expect that bw and fw will be lower in some cases, when applying the Math.floor, the result is zero.

So my suggestion is:
1) Use Math.round instead of Math.floor (it's more realistic).
2) Configure a min value (for instance, 5) to prevent these values beeing very low (and users cannot interact with these marginal panels)