def _highlightItem(self, item, index):
""" Set frame color of highlighted item, record index """
item['frameColor'] = self['highlightColor']
item['frameSize'] = (self['highlightScale'][0]*self.minX, self['highlightScale'][0]*self.maxX, self['highlightScale'][1]*self.minZ, self['highlightScale'][1]*self.maxZ)
item['text_scale'] = self['highlightScale']
self.highlightedIndex = index
def _unhighlightItem(self, item, frameColor):
""" Clear frame color, clear highlightedIndex """
item['frameColor'] = frameColor
item['frameSize'] = (self.minX, self.maxX, self.minZ, self.maxZ)
item['text_scale'] = (1,1)
self.highlightedIndex = None
Yes I am looking for a 0.8 scale ratio across the whole menu. So as a temp fix I will just change the line
item['text_scale'] = (1,1)
to
item['text_scale'] = (0.8,0.8)
. With regards to a patch look for something next week / Ill post it then (quite busy ATM).
I’ll work to see if I can’t implement different scales fore each state of the menu item button (up, pressed, rollover, disabled) as well.
Thanks for the reply
Robert.