Draws the optional overflow marker, if text doesn't fit in the box.
(self, view, px, py)
| 728 | return overflow |
| 729 | |
| 730 | def _drawOverflowMarker_drawBot(self, view, px, py): |
| 731 | """Draws the optional overflow marker, if text doesn't fit in the box.""" |
| 732 | # Get current builder from self.doc.context.b |
| 733 | bs = self.newString('[+]', style=dict(textFill=color(r=1, g=0, b=0), font='PageBot-Bold', fontSize=10)) |
| 734 | tw, _ = bs.textSize |
| 735 | # FIX: Should work work self.bottom |
| 736 | #self.b.text(bs.s, upt(self.right - 3 - tw, self.bottom + 3)) |
| 737 | self.b.text(bs.s, upt(self.right - 3 - tw, self.y + 6)) |
| 738 | |
| 739 | |
| 740 | # Disabling these temporarily, needs some testing at element level first. |