Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bui = Class.new(moreDirectorsButton.getUI.class) do
- def paintText(graphics, button, rect, text)
- super
- fm = graphics.fontMetrics
- x = rect.x + getTextShiftOffset
- y = rect.y + fm.ascent + fm.descent + getTextShiftOffset - 1
- graphics.drawLine(x, y, x + rect.width - 1, y)
- end
- end.new
- moreDirectorsButton.setUI(bui)
Add Comment
Please, Sign In to add comment