Toolbar cramped

ExpiredReign

Deity
Joined
Jan 3, 2013
Messages
2,450
Location
Tasmania
Hello again.

I found a post about this for an earlier version (GEM 1.9.1/CivUP 2.0.50) and included a screenshot showing how it effects my game.

I'm running @ 1366 x 768 with GEM 1.12.2/CivUP 2.3.2

Other screenshots I see on this forum show way more space between the "Trade icons" and the "Turn no.".

Any ideas?
 
It depends on screen resolution because the Civ interface elements use fixed size. I have a monitor with a similar width as yours, though in a 5:4 ratio. I designed the toolbar so the left side doesn't go all the way over and overlap the right side, which used to be a problem some time ago.
 
Alternatively, I run a screen resolution of 2560x1600, and I always feel like I wish more games would take advantage of the extra real-estate regarding the interface and tool bar areas. I have a feeling that as higher resolutions become standard (rumors about 2560x1600 being the next "standard" resolution are swirling), developers in all areas will have to find new ways to scale interfaces and text to be both space-efficient and readable.

On a side note, to Thal and everyone else that contributes to this mod, thank you!
 
Things changed dramatically in the past few years. While Civ 5 was being developed, 75% of monitors were 1024x768 or lower, a percentage which dropped to 13% by this year. The #1 resolution now is the one used by ExpiredReign. I'm on a four year old #3 1280x1024 myself. I'd like to get two widescreens side by side, but don't have the money for it. :)

Code:
Resolution	January 2012
1366x768	18.7%
1024x768	13.0%
1280x1024	11.5%
1280x800	10.7%
1920x1080	8.1%
1440x900	8.1%
1680x1050	6.5%
1600x900	3.8%
1920x1200	3.0%
1360x768	2.0%
1280x768	1.3%
Other		13.3%
 
Curious. If the most common resolution is the same as mine wouldn't that mean the toolbar should be optimized for display on that resolution?

Late game with all the resource icons etc. the overlap is a real visual pain:(

Still it doesn't hurt the gameplay which is fantastic:D
 
Since this is really a trivial problem, and you probably have more pressing things to do I thought I would take a look.

Seems all I have to do is edit the "TopPanel.xml" and change the
Code:
Padding="6"
on the "Stack" tags from 10 to 6 or something similar and I have a fine topbar.

I also looked at changing the font sizes for the different elements but unfortunately I can't see where the formatting for the elements on the left hand side is located.

Can you point me in the right direction?

This exercise is also highlighting to me the phenomenal amount of work you have put into this.:eek:

There are literally 1000's of lines of code.
 
Thanks for finding that, I changed padding to 6 for the next version. I believe you could change this at the top:

Font="TwCenMT16"

to:
Font="TwCenMT14"

I think that should change the font size. The game appears to use 14-point font elsewhere, so it should be a valid number.
 
Thanks Thal

I noticed you changed the "padding" in the new version.;)

I don't believe those 'font' values change the elements on the left hand side.

After trying a few different values those all seem to remain the same. I imagine they are formatted in some other code file.

I'm still looking around. I'll let you know what I find.

My goal is to write some code that changes the font sizes dynamically, perhaps via an options menu or such. Looking through the InfoAddict code at the moment since that provides text and graphics changes via a button click. Pretty daunting though.
 
Back
Top Bottom