Scrollbar + Scrollpanel for Strategic Resources

TanisX

Warlord
Joined
Nov 5, 2010
Messages
113
I made this specifically for mods that add a lot of new strategic resources. If you add too many SRs they start to overlap with year/turn texts. This does not add in custom icons, I can't figure out a way to make Civ5 use a different FontIcons.dss file. I have found 1 problem; since the scrollbar's xoffset is tied to the resource panel's xoffset the scrollbar will move to the right along with the resource panel.

Files that are modified:

TopPanel.xml
TopPanel.lua
 

Attachments

  • Adds a Scrollbar to TopPanel (v 1).civ5mod
    Adds a Scrollbar to TopPanel (v 1).civ5mod
    6.8 KB · Views: 82
  • resourcescroll01.png
    resourcescroll01.png
    191.8 KB · Views: 229
Back
Top Bottom