братан ,я улучшил визуально весь другой код
его и
float titleWidth = Fonts.sfMedium.getWidth(title, titleTextSize);
float blockWidth = Math.max(Math.max(longestLineWidth, titleWidth + innerPadding * 2), 70);
float blockHeight = innerPadding + titleTextSize + 5 +
activeCooldowns * (iconSize + lineSpacing) - lineSpacing + innerPadding;
int backgroundTop = ColorUtils.rgba(30, 30, 40, 210);
int backgroundBottom = ColorUtils.rgba(15, 15, 25, 210);
int borderColor = ColorUtils.rgba(255, 255, 255, 35);
float textSize = 4.93f;
float timeTextSize = 6.16f;
float titleTextSize = 6.16f;
float innerPadding = 8.62f;
float iconSize = 11.09f;
float lineSpacing = 6.16f;
float iconToTextGap = 12.32f;
int activeCooldowns = 0;
float longestLineWidth = 0;
не deepseek )