|
|
@ -163,11 +163,11 @@ public class GridColumnUI extends ComponentUI { |
|
|
|
float time = (float)resolution/ScreenResolution.getScreenResolution(); |
|
|
|
float time = (float)resolution/ScreenResolution.getScreenResolution(); |
|
|
|
|
|
|
|
|
|
|
|
double stringWidth = gridColumn.getFont().getStringBounds(columnContent, fontRenderContext).getWidth() * time; |
|
|
|
double stringWidth = gridColumn.getFont().getStringBounds(columnContent, fontRenderContext).getWidth() * time; |
|
|
|
// if (stringWidth > tmpIncreaseWidth) {
|
|
|
|
if (stringWidth > tmpIncreaseWidth) { |
|
|
|
// paintMoreContent(i, g2d, tmpWidth1, size, tmpIncreaseWidth, isSelectedBounds, gridColumn, elementCase, columnContent, stringWidth, fmAscent);
|
|
|
|
paintMoreContent(i, g2d, tmpWidth1, size, tmpIncreaseWidth, isSelectedBounds, gridColumn, elementCase, columnContent, stringWidth, fmAscent); |
|
|
|
// } else {
|
|
|
|
} else { |
|
|
|
paintNormalContent(i, g2d, tmpWidth1, tmpIncreaseWidth, isSelectedBounds, gridColumn, elementCase, columnContent, stringWidth, fmAscent); |
|
|
|
paintNormalContent(i, g2d, tmpWidth1, tmpIncreaseWidth, isSelectedBounds, gridColumn, elementCase, columnContent, stringWidth, fmAscent); |
|
|
|
// }
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|