Guest User

Untitled

a guest
May 27th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. bui = Class.new(moreDirectorsButton.getUI.class) do
  2. def paintText(graphics, button, rect, text)
  3. super
  4. fm = graphics.fontMetrics
  5. x = rect.x + getTextShiftOffset
  6. y = rect.y + fm.ascent + fm.descent + getTextShiftOffset - 1
  7. graphics.drawLine(x, y, x + rect.width - 1, y)
  8. end
  9. end.new
  10. moreDirectorsButton.setUI(bui)
Add Comment
Please, Sign In to add comment