Wider Tooltip

If you liked this item, please rate it up on Steam Workshop page.

Author: Sakuya Minagami

Last revision: 11 Sep, 2024 at 08:52 UTC (13)

File size: 10.3 KB

On Steam Workshop

Description:

Make tooltips wider.
Achievment compatible.
If the max width is not suitable for you, you can disable the mod and then open "%Stellaris_Path%interfacecore.gui" with Notepad.
You will find:

containerWindowType = { name = "ToolTipWindow" background = { name = "background" spriteType = "GFX_tooltip_bg" } position = { x= 0 y= 0 } orientation = upper_left size = { width = 100 height = 100 } instantTextBoxType ={ name = "text" font = "cg_16b" borderSize = { x=35 y=15 } position = { x=0 y=0 } maxWidth = 400 alwaystransparent = yes } }

Replace the maxWidth 400 with a suitable number.
The checksum will not change if you modify the "core.gui" file. So you can get achievements.
This mod may now be obsolete, as starting from version 3.11, it seems unable to override the configurations in the interface/core.gui file in the game directory. However, you can still achieve the same effect by manually editing the interface/core.gui file.

更宽的提示框。
兼容成就。
如果该mod中设置的提示框宽度不适合你,你可以找到Stellaris游戏目录下的interfacecore.gui文件,用记事本或Notepad++等文本编辑程序打开,找到前述代码段落。将maxWidth的400改为一个你认为合适的值,然后保存。这样修改之后不要忘了禁用该mod,否则很可能会出现冲突导致你的设置失效。
修改core.gui文件并不会改变游戏的校验码,因此这样修改过后你仍然可以正常解锁成就。
此mod现在可能已经无效了,因为从3.11版本开始此mod似乎无法覆盖游戏目录下的interface/core.gui文件中的配置,但你仍然可以通过手动修改interface/core.gui文件来实现同样的效果。