Sid Meier's Civilization VI

Sid Meier's Civilization VI

Doctrine
Cobber 11 Apr, 2020 @ 8:37pm
Changing the UI size dimensions for the doctrines/religion screen panels.
I've noticed some people previously ask in this mod's comments section about how to adjust the UI size dimensions for the doctrines/religion screen panels, particularly how it displays after you have founded a religion in the game.

I have figured out a solution for myself that may also work for other people. It is only a single column that results, rather than 2-3 columns, but its allowed me to clearly see all details for each doctrine and what its effects are, and it is a scroll-able column allowing for you to clearly see all doctrines available to use to select.

I have also reduced the size of the panel on the left hand side that displays the name of your religion and the core beliefs you selected when founding it, which has aided in seeing the doctrines in that scroll-able column more easily as well.

To do this, using Notepad++ (which I strongly encourage you to use if doing this as well, as it allows you to see the line numbers for each line of code on the left-hand side and I'll be listing those line numbers below to help you find the specific values I changed) I adjusted the code's Size values, WrapWidth values and also an Offset value on the ReligionScreen.XML file.

The specific sections in the file that I made changes were the first section of code above the Doctrine Placeholders section, in the Doctrine - Pick a Pantheon section, in the Doctrine - Pick a Religion section, in the Doctrine - Purchase Beliefs with Faith section, in the Doctrine - Single Religion Panel section, both the Religion Panel and Cities Panel subsections as well, and finally in the Instances section.

It required a decent (and tedious) amount of trial and error to get to where I was satisfied with the outcome, as was suggested it would take in the mod's comments section by the mod's author, but it has made the mod fantastic to use as a result of that trial and error, so the process is definitely worth it.

Now, onto the actual code changes I did, in order from the top of the XML file going down section by section that I made the changes in.

Code Changes: First section of the code at top of the XML file -
Line 5 - Size="parent,1000">. I changed the 1000 value to 1080, as my resolution is a 1920x1080 resolution.

Code Changes: Doctrine - Placeholders section -
Line 20 - Size="1410,parent-100". Changed the 1410 value to auto.
Line 21 - WrapWidth="400"/>. Changed the 400 value to 250. There are 2 of these WrapWidth="400"/> values in this section of the code, but I only changed the first value from 400 to 250.
Line 29 - WrapWidth="1350"/>. Changed the 1350 value to 250.

Code Changes: Doctrine - Pick a Pantheon section -
Line 38 - Size="1410,parent-100". Changed the 1410 value to auto.
Line 43 - Size="1350,parent-380". Changed the 1350 value to 600.
Line 44 - WrapWidth="1350"/>. Changed the 1350 value to 250.

Code Changes: Doctrine - Pick a Religion section -
Line 64 - Size="1350,parent-400". Changed the 1350 value to 600.
Line 65 - WrapWidth="1350"/>. Changed the 1350 value to 250.

Code Changes: Doctrine - Purchase Beliefs with Faith section -
Actually changed more values in this section than in any other section, but not by much, only about 4 extra values were changed as opposed to the number changed in those other previous sections.
Line 74 - Offset="-150,90". Changed the -150 value to -120, and the 90 value to 60.
Line 75 - Size="1410,parent-100". Changed the 1410 value to auto, and the -100 value to -60.
Line 76 - Size="parent,38". Changed the 38 value to 12.
Line 79 - Size="parent-10,18". Changed the 18 value to 12.
Line 82 - WrapWidth="parent"/>. Changed the parent value to 250.

Code Changes: Doctrine - Single Religion Panel section -
As mentioned above, this section consists of 2 subsections, labelled Religion Panel and Cities Panel.

For the Religion Panel subsection I made the following changes:
Line 90 - Size="parent,1000">. Changed the 1000 value to 820.
Line 92 - <Grid Size="1080,350". Changed the 1080 value to 820.
Line 97 - Offset="1074,2". Changed the 1074 value to 817.
Line 100 - <Container Size="1060,340". Changed the 1060 value to 820.
WrapWidth="400". Changed the 400 value to 200. There are 4 of these WrapWidth values in this subsection, and each was changed from 400 to 200. Lines 103-106.

For the Cities Panel subsection I made the following changes:
Line 113 - <Grid Size="1080,542". Changed the 1080 value to 820, and the 542 value to 350.

Finally, Code Changes: Instances section -
Line 186 - Size="490,340". Changed the 490 value to 350, and the 340 value to 240.

Again, I stress that these changes satisfied my preferences, so you may need to adjust them further yourself if you find you need to. Definitely use Notepad++ as I suggested above, as it will allow you to find the Line numbers I listed above much more easily than if you were to just use the normal Notepad application that comes standard on all PC's.

If you have any problems following these instructions, or any questions, feel free to ask in this discussion thread and I will do my best to assist you, including providing screen shots via email if necessary.

Good luck with finding your own UI dimensions settings that you find satisfying when using this mod. :steamhappy: