Official eMule-Board: Tweak At Cmuletoolbarctrl::setallbuttonswidth() - Official eMule-Board

Jump to content


Page 1 of 1

Tweak At Cmuletoolbarctrl::setallbuttonswidth()

#1 User is offline   ducho 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 93
  • Joined: 22-October 06

Posted 29 September 2010 - 03:00 AM

Hello guys

I tried some values at lines 344-345 within CMuleToolbarCtrl::SetAllButtonsWidth()

78 is an optimal value to see brazilian translation with complete menu strings. In this case Transfer -> Transfer... , adjusted to Transfer -> Transferŕncia

To see this behaviour just use an official build, even some mods, and choose Brazilian language. I do not tested yet for others languages, I'll do this sometime.

if (iCalcSize < 56)
 iCalcSize = 56;
else if (iCalcSize > 78)  //was 72
 iCalcSize = 78;   //was 72




EDIT: I forgot to write that if you choose 'Show text labels on right' they appears as expected.

This post has been edited by ducho: 29 September 2010 - 07:53 PM

0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users