Suggestion General Add a horizontal scrollbar for troop trees

Users who are viewing this thread

unknown.png


While troop trees have a vertical scrollbar to scroll up and down, there is no horizontal scrollbar to scroll left and right.

I tried modifying EncyclopediaUnitPage.xml to add a horizontal scrollbar but to no success. It seems that the game does not "see" that the troop tree is too wide and make the horizontal scrollbar visible.

Is it possible for the devs to add a horizontal scrollbar? Or if not, at least can a dev guide me as to how to add one?

Any help would be appreciated.
 
I was able to mod in a horizontal scroll bar for my mod Extended Family. It is already available to use in Gauntlet so it is possible for the developers to add that in if needed.
 
I was able to mod in a horizontal scroll bar for my mod Extended Family. It is already available to use in Gauntlet so it is possible for the developers to add that in if needed.
Based on his code, I added the functionality to scroll the troop tree left and right using the mouse wheel. However, there is no sprite for a horizontal scrollbar in the vanilla sprite sheets. Therefore, either the devs will have to add it in or I'll have to add a new sprite for a rotated vertical scrollbar.
 
Based on his code, I added the functionality to scroll the troop tree left and right using the mouse wheel. However, there is no sprite for a horizontal scrollbar in the vanilla sprite sheets. Therefore, either the devs will have to add it in or I'll have to add a new sprite for a rotated vertical scrollbar.
Nice going!
 
Back
Top Bottom