Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tooltips not always completely displayed
2016-08-24, 11:24 AM (This post was last modified: 2016-08-24 11:29 AM by Gladyon.)
Post: #1
Tooltips not always completely displayed
The APS firing piece tooltip isn't fully displayed because there are too many information (when the shell is loaded).

I think that could be solved by increasing the width of the tooltip so many labels will have oner or 2 less lines.
I'd say that an increase of at least 50% would solve that issues and will make the future similar issues less common.


On a similar note, it would be good if the width was customizable so we could change it in the mods. As I see it it's just a matter of adding a variable in the 'InteractionReturn' class, adding a 'SetWidth()' method and changing the 'Display()' method in order to change the 'r_interaction' width with the new variable.
Find all posts by this user
Quote this message in a reply
2017-03-19, 05:02 PM (This post was last modified: 2017-03-19 05:02 PM by Gladyon.)
Post: #2
RE: Tooltips not always completely displayed
I finally decided to really try to fix that one, and it was easier than anticipated.
Just putting that in the 'OnLoad()' method of any mod is enough:
Code:
// Enlarge the width of the block's tooltips
SO_HUD sO_HUD = LazyLoader.HUD.Get();
sO_HUD.R_interaction.xMin -= 100.0f;
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)