891 |
textR.y = (horizontalTextPosition == CENTER |
textR.y = (horizontalTextPosition == CENTER |
892 |
? iconR.height + textIconGap |
? iconR.height + textIconGap |
893 |
: Math.max(iconR.height - textR.height, 0)); |
: Math.max(iconR.height - textR.height, 0)); |
|
System.err.println("iconR.height: " + iconR.height); |
|
|
System.err.println("textR.height: " + textR.height); |
|
894 |
break; |
break; |
895 |
case CENTER: |
case CENTER: |
896 |
int centerLine = Math.max(textR.height, iconR.height) / 2; |
int centerLine = Math.max(textR.height, iconR.height) / 2; |