7 Days to Die

7 Days to Die

Not enough ratings
Guide to increasing the font size of inventory items
By Masterdander
Enhance Your Comfort: Large Inventory Text for 7 Days To Die

This guide offers a crucial quality-of-life fix for all players, particularly those with visual impairments or who prefer gaming from a distance (e.g., couch play). We provide simple, step-by-step instructions on how to directly edit a game configuration file to significantly increase the font size of inventory item names.

Say goodbye to squinting! Follow this quick guide to achieve a highly visible and comfortable gaming experience without relying on official patches.
   
Award
Favorite
Favorited
Unfavorite
Increasing Inventory Item Font Size for Better Visibility (7 Days To Die)
🛠️ Step-by-Step Fix: Modifying the Font Size

To increase the font size of inventory item names, you need to edit a specific configuration file located in your game's directory.

Step 1: Locate the Configuration File

Navigate to the following file path on your computer:

C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Config\XUi


Step 2: Access the Code File

1. In the XUi folder, locate the file named windows.xml.
2. Open this file using a plain text editor. You can use Windows’ built-in Notepad application, or a more powerful alternative like Notepad++.

Step 3: Search for the Font Size Code

1. Once the windows.xml file is open, press CTRL + F on your keyboard to open the search/find menu.
2. In the search box, paste or type the following entire line of code:
<label depth="3" name="lblText" text="" pos="10,-6" font_size="25" overflow="resizefreely" parse_actions="true"/>
3. If the exact line isn't found immediately, try searching for a shorter, unique part of the code (e.g.,
lblText" text="" pos="10,-6"
). You will eventually find the section.


Step 4: Change the Font Size Value

1. In the line you found, locate the attribute font_size="25".
2. The number 25 is the default font size (this number might be smaller depending on your game version).
3. Change the value 25 to a higher number to increase the visibility. For example, change it to 50:
<label depth="3" name="lblText" text="" pos="10,-6" font_size="50" overflow="resizefreely" parse_actions="true"/>
4. I personally set it to 50 for a highly visible level. You may need to use trial and error (trying values like 35, 40, or 45) to find the size that is most comfortable for you.

Step 5: Save and Test

1. Save the changes you made to the windows.xml file.
2. Close the editor and launch the game to test your new font size.


I am currently working on preparing a fully illustrated guide for this solution to make the steps even clearer.

I wish all my fellow players comfortable and fun games!
1 Comments
Mardoin69 1 hour ago 
Actually, you could go a few steps further and do this as a mod instead of altering the games default "Windows.xml" file. This way, even if you ran Steams 'file verification' and / or a game patch / update will NOT reset these values. Cuz, the default file will still be default. But, the game would make the changes--when launched--for these values when it finds the modified values in a "Windows.xml" file in your users \7d2d\Mods\ folder. There must also be the 'modinfo' file declaring the mod. If not sure how to do this, search... "creating mods" and look for discussions talking about the mod info file and Xpath.