|
|
@ -40,6 +40,11 @@ public class AlphaFineTextField extends UITextField { |
|
|
|
g2.drawString(placeHolder, getInsets().left, g.getFontMetrics().getMaxAscent() + getInsets().top + PLACE_HOLDER_GAP); |
|
|
|
g2.drawString(placeHolder, getInsets().left, g.getFontMetrics().getMaxAscent() + getInsets().top + PLACE_HOLDER_GAP); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected void paintBorder(Graphics g) { |
|
|
|
|
|
|
|
// do nothing
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getPlaceHolder() { |
|
|
|
public String getPlaceHolder() { |
|
|
|
return placeHolder; |
|
|
|
return placeHolder; |
|
|
|
} |
|
|
|
} |
|
|
|