Page 2 of 4
Re: TMenuItem height
Posted: Sun May 07, 2017 10:22 am
by Enrico Maria Giordano
If we cannot have intermediate values, 4 is better.
EMG
Re: TMenuItem height
Posted: Sun May 07, 2017 5:50 pm
by cnavarro
Please, if you changed Int with round, leave INT, and try
Thanks for your test
I'm outside these days
Re: TMenuItem height
Posted: Sun May 07, 2017 9:28 pm
by Enrico Maria Giordano
With INT() the best value is 5.
EMG
Re: TMenuItem height
Posted: Mon May 08, 2017 10:03 pm
by cnavarro
Enrico
I can not find the difference of 5 between the versions
I use GetSysMetrics as a reference
I'm still looking for
Re: TMenuItem height
Posted: Tue May 09, 2017 8:31 am
by Enrico Maria Giordano
Ok, thank you.
EMG
Re: TMenuItem height
Posted: Sat May 20, 2017 6:05 pm
by Enrico Maria Giordano
The problem has not been fixed in FWH 17.05.

EMG
Re: TMenuItem height
Posted: Sat May 20, 2017 6:47 pm
by cnavarro
Enrico
Attach or send me an image with the previous height and the current height. I do not see the difference well
Thank you
Re: TMenuItem height
Posted: Sat May 20, 2017 7:47 pm
by Enrico Maria Giordano
The fix is
Code: Select all | Expand
ChgMenuMea( pMitStruct, Round( nWText * nFw, 0 ), ;
if( oItem:lSeparator, Int( nHItem * GetnHeightItem() ),;
Max( Int( nHItem * GetnHeightItem() * if( !lHFont, 1.5, 1 ) ) + 5, GetSysMetrics( 15 ) ) ) )
Please note + 5.
EMG
Re: TMenuItem height
Posted: Sat May 20, 2017 8:26 pm
by cnavarro
Enrico, yes, I know it
But I have not found why it has changed by 5 pixels the height
Re: TMenuItem height
Posted: Mon Jun 05, 2017 7:29 am
by Enrico Maria Giordano
Bug still pending.

EMG
Re: TMenuItem height
Posted: Mon Jun 05, 2017 11:01 am
by cnavarro
Try
MENU oMenu HEIGHT 2.075 and comment
Re: TMenuItem height
Posted: Mon Jun 05, 2017 11:19 am
by Enrico Maria Giordano
Height 2 seems to be fine:
EMG
Re: TMenuItem height
Posted: Mon Jun 05, 2017 11:24 am
by cnavarro
Not with 2.075 ?
Re: TMenuItem height
Posted: Mon Jun 05, 2017 11:31 am
by Enrico Maria Giordano
Yes, you are right, 2 or 2.075 it's the same, the height doesn't change.
EMG
Re: TMenuItem height
Posted: Tue Jun 27, 2017 9:59 am
by Enrico Maria Giordano
In the new FWH release this bug is still there.
EMG