TMenuItem height keeps changing at any FWH release... ![]()
EMG
TMenuItem height keeps changing at any FWH release... ![]()
EMG
It is possible that I modified something in the last version
Can you put a picture?
Thank you
Cristobal,
just build a popup menu and compare it with the previous FWH release.
EMG
Enrico
Sorry, my eyesight is not very good
Is it higher now?
No, it's smaller.
EMG
Cristobal,
do you have a quick and dirty workaround to share?
EMG
One moment, please
I'm checking the code to see what difference there is
Muchas gracias! ![]()
EMG
To you
Enrico
Only into MENUS POPUPS ?
No, normal window menu also.
EMG
Ok, thanks
ChgMenuMea( pMitStruct, Round( nWText * nFw, 0 ), ;
if( oItem:lSeparator, Int( nHItem * GetnHeightItem() ),;
Max( Int( nHItem * GetnHeightItem() * if( !lHFont, 1.5, 1 ) ), GetSysMetrics( 15 ) ) ) ) ChgMenuMea( pMitStruct, Round( nWText * nFw, 0 ), ;
if( oItem:lSeparator, Int( nHItem * GetnHeightItem() ),;
Max( Round( nHItem * GetnHeightItem() * if( !lHFont, 1.5, 1 ), 0 ), GetSysMetrics( 15 ) ) ) )Sorry, no change.
EMG
ChgMenuMea( pMitStruct, Round( nWText * nFw, 0 ), ;
if( oItem:lSeparator, Int( nHItem * GetnHeightItem() ),;
Max( Round( nHItem * GetnHeightItem() * if( !lHFont, 1.5, 1 ), 0 ) + 1, GetSysMetrics( 15 ) ) ) )
Compared with desktop right click menu, 4 is a little shorter and 5 is a little longer. ![]()
EMG