spelling: attributed

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 08:35:46 -04:00
committed by Jindra Petřík
parent cb63356c7d
commit 0788095446

View File

@@ -361,12 +361,12 @@ public class BasicRichTooltipPanelUI extends RichTooltipPanelUI {
// The title label
int titleLabelWidth = parent.getWidth() - ins.left - ins.right;
AttributedString titleAtributedDescription = new AttributedString(
AttributedString titleAttributedDescription = new AttributedString(
tooltipInfo.getTitle());
titleAtributedDescription.addAttribute(TextAttribute.FONT,
titleAttributedDescription.addAttribute(TextAttribute.FONT,
titleFont);
LineBreakMeasurer titleLineBreakMeasurer = new LineBreakMeasurer(
titleAtributedDescription.getIterator(), frc);
titleAttributedDescription.getIterator(), frc);
int titleCurrOffset = 0;
while (true) {
TextLayout tl = titleLineBreakMeasurer