PDA

View Full Version : Radial tag inside Tooltip



Xarxus
January 21st, 2023, 14:25
I found this code in CoreRPG, gameelements.xml file.
Looking in the wiki there is no radial tag inside tooltip (https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996645633/tooltip). What it does? Is it deprecated?

<tooltip>
<frame name="tooltipbox" margins="7,4,10,7" wrapwidth="300" />
<radial name="mini_name" margins="7,2,7,2" />
<font name="mini_name" />
</tooltip>

Trenloe
January 21st, 2023, 15:09
It defines the font setup used to display the tooltip text for radial menus.

Xarxus
January 21st, 2023, 16:26
Ty Trenloe.
Isn't it possible to define a frame for radial menu tooltips as well?
Why is it not mentioned in the wiki?

Trenloe
January 21st, 2023, 16:53
Why is it not mentioned in the wiki?
I don't know.

Moon Wizard
January 22nd, 2023, 04:54
Tooltips share the same font for both regular tooltips and context menu tooltips. (tooltip.font)
Different frames are shown for regular tooltips and context menu tooltips. (tooltip.frame, tooltip.radial)

These tags have been in place since before I worked with FG, and have not changed in many years.

Regards,
JPG

Xarxus
January 22nd, 2023, 15:08
It makes more sense.
Ty Moon!