If the size smaller than the image of the checkbox image, set to the size of the checkbox image.
Change-Id: I021a056b74cbd7e4a0065f3cf54db4c15ad54f9c
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
}
@Override
+ protected Point computeSize(final TizenButton button, final int wHint, final int hHint, final boolean changed) {
+ Point pt = super.computeSize(button, wHint, hHint, changed);
+ pt.y = Math.max(pt.y, TizenResourceManager.getInstance().checkBoxGrayedHover.getBounds().height);
+ return pt;
+ }
+
+ @Override
protected Image getImage() {
if (isState(state, (SELECT | ENABLE | HOVER | GRAYED))) {
return TizenResourceManager.getInstance().checkBoxGrayedHover;