Rommel 2 Posted October 11, 2020 Share Posted October 11, 2020 How can i set horizontal exp gauge loading instead of vertical? Link to comment Share on other sites More sharing options...
ondry 333 Posted October 11, 2020 Share Posted October 11, 2020 you need to use new function in uitaskbar.py (SetPercentage -> SetPercentageHorizontal) add this function to ui.py def SetPercentageHorizontal(self, curValue, maxValue): if maxValue: self.SetRenderingRect(0.0, -1.0 + float(curValue) / float(maxValue), 0.0, 0.0) else: self.SetRenderingRect(0.0, 0.0, 0.0, 0.0) 1 Link to comment Share on other sites More sharing options...
Rommel 2 Posted October 12, 2020 Author Share Posted October 12, 2020 (edited) Ehmm.. I guess your code is vertical, the basic SetPercentage is horizontal. Okay i solved it. Just change like this: self.expGauge[FullCount].SetRenderingRect(0.0, 0.0, Percentage, 0.0) Edited October 12, 2020 by Rommel 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now