mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-07 04:08:51 +00:00
spelling: attributed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Jindra Petřík
parent
cb63356c7d
commit
0788095446
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user